@@ -6,16 +6,15 @@ Installing PostgreSQL Database
6
6
1. For the purposes of this guide we will assume this server has an IP
7
7
address of ``10.10.10.1 ``
8
8
9
- - **Optional: ** if installing on the same machine substitute
10
- ``10.10.10.1 `` with ``127.0.0.1 ``
9
+ - **Optional: ** if installing on the same machine substitute ``10.10.10.1 `` with ``127.0.0.1 ``
11
10
12
- 2. Install PostgreSQL 9.4+ (or MySQL 5.6+)
11
+ 2. Install PostgreSQL 9.4+
13
12
14
- - ``sudo yum install yum install http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-redhat94-9.4-1.noarch.rpm ``
13
+ - ``sudo yum install http://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/pgdg-redhat94-9.4-1.noarch.rpm ``
15
14
- ``sudo yum install postgresql94-server postgresql94-contrib ``
16
15
- ``sudo /usr/pgsql-9.4/bin/postgresql94-setup initdb ``
17
- - ``sudo systemctl enable postgresql-9.4.service ``
18
- - ``sudo systemctl start postgresql-9.4.service ``
16
+ - ``sudo systemctl enable postgresql-9.4 ``
17
+ - ``sudo systemctl start postgresql-9.4 ``
19
18
20
19
3. PostgreSQL created a user account called ``postgres ``. You will need
21
20
to log into that account with:
@@ -60,7 +59,7 @@ Installing PostgreSQL Database
60
59
61
60
12. Reload Postgres database:
62
61
63
- - ``sudo systemctl reload postgresql-9.4.service ``
62
+ - ``sudo systemctl reload postgresql-9.4 ``
64
63
65
64
13. Attempt to connect with the new created user to verify everything
66
65
looks good:
0 commit comments