Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:misc:network:mattermost [2018/07/01 09:34 (UTC)]
khronosschoty [Installing PostgreSQL Database.]
howtos:misc:network:mattermost [2018/07/01 18:41 (UTC)] (current)
khronosschoty [Installing PostgreSQL Database.]
Line 15: Line 15:
   - Exit out of psql with \q.   - Exit out of psql with \q.
   - Setup the Unix socket by editing file: /​var/​lib/​pgsql/​10.2/​data/​pg_hba.conf,​ replace<​code>#​ "​local"​ is for Unix domain socket connections only</​code><​code>​local all all md5</​code>​ with<​code>​local mattermostdb mattermost peer</​code>​   - Setup the Unix socket by editing file: /​var/​lib/​pgsql/​10.2/​data/​pg_hba.conf,​ replace<​code>#​ "​local"​ is for Unix domain socket connections only</​code><​code>​local all all md5</​code>​ with<​code>​local mattermostdb mattermost peer</​code>​
-  - Add the following to "/​var/​lib/​pgsql/​10.2/​data/​pg_ident.conf"​ <​code>​echo "​mattermap ​mattermosdb ​mattermost"​ >> /​var/​lib/​pgsql/​10.2/​data/​pg_ident.conf</​code>​+  - Add the following to "/​var/​lib/​pgsql/​10.2/​data/​pg_ident.conf"​ <​code>​echo "​mattermap ​mattermostdb ​mattermost"​ >> /​var/​lib/​pgsql/​10.2/​data/​pg_ident.conf</​code>​
   - Restart PostgreSQL <​code>​exit</​code><​code>/​etc/​rc.d/​rc.postgresql restart</​code>​   - Restart PostgreSQL <​code>​exit</​code><​code>/​etc/​rc.d/​rc.postgresql restart</​code>​
   - Add the mattermost system user: <​code>​useradd --system --user-group mattermost</​code>​   - Add the mattermost system user: <​code>​useradd --system --user-group mattermost</​code>​

In Other Languages
QR Code
QR Code howtos:misc:network:mattermost (generated for current page)