X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e016b28393b74cd30a78ebe03eca7e37a51fefd3..8eaed3be04eb6356920b764f8ae370ddf8ace94c:/doc/install/install-postgresql.html.textile.liquid diff --git a/doc/install/install-postgresql.html.textile.liquid b/doc/install/install-postgresql.html.textile.liquid index f27e62990e..f611df8a07 100644 --- a/doc/install/install-postgresql.html.textile.liquid +++ b/doc/install/install-postgresql.html.textile.liquid @@ -27,6 +27,20 @@ h2(#centos6). Install PostgreSQL on CentOS 6
~$ sudo service rh-postgresql94-postgresql start
# "Set up Arvados credentials and databases":#rails_setup for the services that will use this PostgreSQL install. +h2(#centos7). Install PostgreSQL on CentOS 7 + +# Install PostgreSQL: +
~$ sudo yum install postgresql-server
+# Initialize the database: +
~$ sudo postgresql-setup initdb
+# Configure the database to accept password connections: +
~$ sudo sed -ri -e 's/^(host +all +all +(127\.0\.0\.1\/32|::1\/128) +)ident$/\1md5/' /var/lib/pgsql/data/pg_hba.conf
+# Configure the database to launch at boot: +
~$ sudo systemctl enable postgresql
+# Start the database: +
~$ sudo systemctl start postgresql
+# "Set up Arvados credentials and databases":#rails_setup for the services that will use this PostgreSQL install. + h2(#debian). Install PostgreSQL on Debian or Ubuntu # Install PostgreSQL: