Merge pull request #1346 from Tsynapse/patch-3

Updated Postgres instructions
Этот коммит содержится в:
Christopher Speller
2015-11-09 15:28:29 -05:00
родитель bb96157960 09c3f0d21e
Коммит 774358bcee

Просмотреть файл

@@ -24,6 +24,16 @@
* ```postgre=# \q``` * ```postgre=# \q```
1. You can exit the postgres account by typing: 1. You can exit the postgres account by typing:
* ``` exit``` * ``` 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 ## 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 1. For the purposes of this guide we will assume this server has an IP address of 10.10.10.2