/|\

Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

Next revision
Previous revision
howtos:misc:network:mattermost [2018/07/01 07:10 (UTC)]
khronosschoty created
howtos:misc:network:mattermost [2018/07/01 18:41 (UTC)] (current)
khronosschoty [Installing PostgreSQL Database.]
Line 14: Line 14:
   - Create mattermost user and give it the rights on the database:<code>CREATE USER mattermost;</code><code>GRANT ALL PRIVILEGES ON DATABASE mattermostdb to mattermost;</code>   - Create mattermost user and give it the rights on the database:<code>CREATE USER mattermost;</code><code>GRANT ALL PRIVILEGES ON DATABASE mattermostdb to mattermost;</code>
   - 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 map=mattermap</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)