Skip to content

Commit 59ff6a0

Browse files
committed
updates and fixes
1 parent 5ca226f commit 59ff6a0

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Installing PostgreSQL Database
3535

3636
9. Start the PostgreSQL interactive terminal.
3737

38-
- ``psql``
38+
``psql``
3939

4040
10. Create the Mattermost database.
4141

@@ -60,13 +60,15 @@ Installing PostgreSQL Database
6060

6161
``exit``
6262

63-
15. Allow Postgres to listen on all assigned IP Addresses. Open ``/etc/postgresql/9.4/main/postgresql.conf`` as root in a text editor.
63+
15. Allow Postgres to listen on all assigned IP Addresses.
6464

65-
a. Find the following line:
65+
a. Open ``/etc/postgresql/9.4/main/postgresql.conf`` as root in a text editor.
66+
67+
b. Find the following line:
6668

6769
``#listen_addresses = 'localhost'``
68-
69-
b. Uncomment the line and change ``localhost`` to ``*``:
70+
71+
c. Uncomment the line and change ``localhost`` to ``*``:
7072

7173
``listen_addresses = '*'``
7274

@@ -82,7 +84,7 @@ Installing PostgreSQL Database
8284

8385
17. Reload Postgres database
8486

85-
``sudo systemctl reload postgresql``
87+
``sudo service postgresql-9.4 restart``
8688

8789
18. Verify that you can connect with the user *mmuser*.
8890

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Installing PostgreSQL Database
3535

3636
9. Start the PostgreSQL interactive terminal.
3737

38-
- ``psql``
38+
``psql``
3939

4040
10. Create the Mattermost database.
4141

@@ -60,13 +60,15 @@ Installing PostgreSQL Database
6060

6161
``exit``
6262

63-
15. Allow Postgres to listen on all assigned IP Addresses. Open ``/etc/postgresql/9.4/main/postgresql.conf`` as root in a text editor.
63+
15. Allow Postgres to listen on all assigned IP Addresses.
6464

65-
a. Find the following line:
65+
a. Open ``/etc/postgresql/9.4/main/postgresql.conf`` as root in a text editor.
66+
67+
b. Find the following line:
6668

6769
``#listen_addresses = 'localhost'``
68-
69-
b. Uncomment the line and change ``localhost`` to ``*``:
70+
71+
c. Uncomment the line and change ``localhost`` to ``*``:
7072

7173
``listen_addresses = '*'``
7274

0 commit comments

Comments
 (0)