From 571d32dbe0a67ee9229512495f82f985e88f8ae1 Mon Sep 17 00:00:00 2001 From: Adam Beames Date: Thu, 11 May 2017 19:51:29 +1000 Subject: [PATCH 1/2] Postgres initdb command for RHEL6 --- docs/installation/postgresql.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/installation/postgresql.md b/docs/installation/postgresql.md index 543a0a2cf..86f988ebc 100644 --- a/docs/installation/postgresql.md +++ b/docs/installation/postgresql.md @@ -13,6 +13,11 @@ NetBox requires a PostgreSQL database to store data. (Please note that MySQL is ```no-highlight # yum install -y postgresql postgresql-server postgresql-devel + +CentOS/RHEL6 +# service postgresql initdb + +CentOS/RHEL7 # postgresql-setup initdb ``` From 59f7944d13519fbe67971fc11346a5037413d6cf Mon Sep 17 00:00:00 2001 From: Adam Beames Date: Thu, 11 May 2017 19:56:15 +1000 Subject: [PATCH 2/2] Start postgres service RHEL6 --- docs/installation/postgresql.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/installation/postgresql.md b/docs/installation/postgresql.md index 86f988ebc..860058ad3 100644 --- a/docs/installation/postgresql.md +++ b/docs/installation/postgresql.md @@ -31,6 +31,10 @@ host all all ::1/128 md5 Then, start the service: ```no-highlight +CentOS/RHEL6 +# service postgresql start + +CentOS/RHEL7 # systemctl start postgresql ```