aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/siteadmin/deploying.rst
diff options
context:
space:
mode:
authorJim Campbell <jcampbell@gnome.org>2015-05-18 21:12:37 -0500
committerJim Campbell <jcampbell@gnome.org>2015-05-18 21:12:37 -0500
commita03920751facac2bcc6c1bb0514aad7fe198f37d (patch)
tree2ee01698b593b3fe5ccf64cca559a215cbd7f205 /docs/source/siteadmin/deploying.rst
parent041c93634b4ffe97b4746b18e46d79dcf1b120b1 (diff)
downloadmediagoblin-a03920751facac2bcc6c1bb0514aad7fe198f37d.tar.lz
mediagoblin-a03920751facac2bcc6c1bb0514aad7fe198f37d.tar.xz
mediagoblin-a03920751facac2bcc6c1bb0514aad7fe198f37d.zip
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.
Diffstat (limited to 'docs/source/siteadmin/deploying.rst')
-rw-r--r--docs/source/siteadmin/deploying.rst8
1 files 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