summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJason <bochi28@gmail.com>2015-11-06 13:31:18 -0500
committerJason <bochi28@gmail.com>2015-11-06 13:31:18 -0500
commit09c3f0d21e4cec738b061350c54f205986096133 (patch)
tree0b72372be0a79d6304ab8a9daac8b7e31745b2ea /doc
parent32069345b55c5b5fcbb7131bc67444b9a386133f (diff)
downloadchat-09c3f0d21e4cec738b061350c54f205986096133.tar.gz
chat-09c3f0d21e4cec738b061350c54f205986096133.tar.bz2
chat-09c3f0d21e4cec738b061350c54f205986096133.zip
Updated Postgres instructions
Included altering the listening addresses and allowing incoming connections to the database.
Diffstat (limited to 'doc')
-rw-r--r--doc/install/Production-Ubuntu.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/install/Production-Ubuntu.md b/doc/install/Production-Ubuntu.md
index ec0c1c96b..97d846a4a 100644
--- a/doc/install/Production-Ubuntu.md
+++ b/doc/install/Production-Ubuntu.md
@@ -24,6 +24,16 @@
* ```postgre=# \q```
1. You can exit the postgres account by typing:
* ``` exit```
+1. Allow Postgres to listen on all assigned IP Addresses
+ * ```sudo vi /etc/postgresql/9.3/main/postgresql.conf```
+ * Uncomment 'listen_addresses' and change 'localhost' to '*'
+1. Alter pg_hba.conf to allow the mattermost server to talk to the postgres database
+ * ```sudo vi /etc/postgresql/9.3/main/pg_hba.conf```
+ * Add the following line to the 'IPv4 local connections'
+ * host all all 10.10.10.2/32 md5
+1. Reload Postgres database
+ * ```sudo /etc/init.d/postgresql reload```
+
## Set up Mattermost Server
1. For the purposes of this guide we will assume this server has an IP address of 10.10.10.2