From a03920751facac2bcc6c1bb0514aad7fe198f37d Mon Sep 17 00:00:00 2001 From: Jim Campbell Date: Mon, 18 May 2015 21:12:37 -0500 Subject: [PATCH] docs: Need to start postgres on rpm distros Need to enable / start postgres database on rpm-based distros before you create the postgres mediagoblin user and database. If you don't start the database server, you can't create a database user or database. --- docs/source/siteadmin/deploying.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/source/siteadmin/deploying.rst b/docs/source/siteadmin/deploying.rst index 814316b1..fc8f021c 100644 --- a/docs/source/siteadmin/deploying.rst +++ b/docs/source/siteadmin/deploying.rst @@ -98,11 +98,13 @@ These are the packages needed for an RPM-based system:: sudo yum install postgresql postgresql-server python-psycopg2 -An rpm-based system also requires that you initialize the PostgresSQL database -with this command. The following command is not needed on a Debian-based -platform, however:: +An rpm-based system also requires that you initialize and start the +PostgresSQL database with a few commands. The following commands are +not needed on a Debian-based platform, however:: sudo /usr/bin/postgresql-setup initdb + sudo systemctl enable postgresql + sudo systemctl start postgresql The installation process will create a new *system* user named ``postgres``, which will have privilegies sufficient to manage the database. We will create a -- 2.25.1