[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

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)] – created khronosschotyhowtos:misc:network:mattermost [2018/07/01 18:41 (UTC)] (current) – [Installing PostgreSQL Database.] khronosschoty
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>
 howtos:misc:network:mattermost ()