Skip to content

Commit 5b0a3f1

Browse files
committed
fixes and updates
1 parent 705e262 commit 5b0a3f1

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

source/install/install-rhel-66-postgresql.rst

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,19 @@
33
Installing PostgreSQL Database
44
==============================
55

6-
1. For the purposes of this guide we will assume this server has an IP
7-
address of ``10.10.10.1``
6+
1. For the purposes of this guide we will assume this server has an IP address of ``10.10.10.1``
87

9-
- **Optional:** if installing on the same machine substitute
10-
``10.10.10.1`` with ``127.0.0.1``
8+
- **Optional:** if installing on the same machine substitute ``10.10.10.1`` with ``127.0.0.1``
119

12-
2. Install PostgreSQL 9.4+ (or MySQL 5.6+)
10+
2. Install PostgreSQL 9.4+
1311

1412
- ``sudo yum install http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-redhat94-9.4-1.noarch.rpm``
1513
- ``sudo yum install postgresql94-server postgresql94-contrib``
1614
- ``sudo service postgresql-9.4 initdb``
1715
- ``sudo chkconfig postgresql-9.4 on``
1816
- ``sudo service postgresql-9.4 start``
1917

20-
3. PostgreSQL created a user account called ``postgres``. You will need
21-
to log into that account with:
18+
3. PostgreSQL created a user account called ``postgres``. You will need to log into that account with:
2219

2320
- ``sudo -i -u postgres``
2421

source/install/install-rhel-71-postgresql.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,15 @@ Installing PostgreSQL Database
66
1. For the purposes of this guide we will assume this server has an IP
77
address of ``10.10.10.1``
88

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``
1110

12-
2. Install PostgreSQL 9.4+ (or MySQL 5.6+)
11+
2. Install PostgreSQL 9.4+
1312

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``
1514
- ``sudo yum install postgresql94-server postgresql94-contrib``
1615
- ``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``
1918

2019
3. PostgreSQL created a user account called ``postgres``. You will need
2120
to log into that account with:
@@ -60,7 +59,7 @@ Installing PostgreSQL Database
6059

6160
12. Reload Postgres database:
6261

63-
- ``sudo systemctl reload postgresql-9.4.service``
62+
- ``sudo systemctl reload postgresql-9.4``
6463

6564
13. Attempt to connect with the new created user to verify everything
6665
looks good:

0 commit comments

Comments
 (0)