Installation Mattermost system Centos 8

spób following guide describes the installation of the software in the system CentOS Mattermost 8.
Made by spending a few terminal commands.

First, we install the MySQL server command:

Run it on your system:

Go to the MySQL server configuration and give the root password by typing:

We answer the questions as follows:

During this process we give the root password.

The next step is to create the database and user. Log in to the mysql command:

We serve previously provided by us root password and create a database:

Then we create a user and assign him permission:

naszehasło any course we replace your password.

Reload powers and leave with mysql

Installation Mattermost

At the beginning, add a system user:

Mattermosta charge command:

unpack:

Mattermosta move the files to the / opt directory

We give the appropriate permissions:

Configuration Mattermost

Mattermosta edit the configuration file to connect it to the previously created database

we find section “SqlSettings”: { and configure as follows:

Can we go to the directory of the script and pre-launch it:

We should like to see the log, everything is OK.

Mattermosta stop holding down CRTL + C

The next step is to create a system service that we can manage it simply and to run in a background.

Create a file /etc/systemd/system/mattermost.service

A given content:

reload demon:

We launch:

Status of services we can see by typing:

Below is a sample log:

Whole should work properly, Mattermost should correspond spending browser naszadresip:8065

After going to the address we should make an initial service configuration.

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.