File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Installing PostgreSQL Database
35
35
36
36
9. Start the PostgreSQL interactive terminal.
37
37
38
- - ``psql ``
38
+ ``psql ``
39
39
40
40
10. Create the Mattermost database.
41
41
@@ -60,13 +60,15 @@ Installing PostgreSQL Database
60
60
61
61
``exit ``
62
62
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.
64
64
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:
66
68
67
69
``#listen_addresses = 'localhost' ``
68
-
69
- b . Uncomment the line and change ``localhost `` to ``* ``:
70
+
71
+ c . Uncomment the line and change ``localhost `` to ``* ``:
70
72
71
73
``listen_addresses = '*' ``
72
74
@@ -82,7 +84,7 @@ Installing PostgreSQL Database
82
84
83
85
17. Reload Postgres database
84
86
85
- ``sudo systemctl reload postgresql ``
87
+ ``sudo service postgresql-9.4 restart ``
86
88
87
89
18. Verify that you can connect with the user *mmuser *.
88
90
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ Installing PostgreSQL Database
35
35
36
36
9. Start the PostgreSQL interactive terminal.
37
37
38
- - ``psql ``
38
+ ``psql ``
39
39
40
40
10. Create the Mattermost database.
41
41
@@ -60,13 +60,15 @@ Installing PostgreSQL Database
60
60
61
61
``exit ``
62
62
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.
64
64
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:
66
68
67
69
``#listen_addresses = 'localhost' ``
68
-
69
- b . Uncomment the line and change ``localhost `` to ``* ``:
70
+
71
+ c . Uncomment the line and change ``localhost `` to ``* ``:
70
72
71
73
``listen_addresses = '*' ``
72
74
You can’t perform that action at this time.
0 commit comments