Kategorie: Linux

Mattermost or free alternative to Slack

Because of that I am not a fan of Facebook and Skype use mostly in contact with the family all his correspondence with friends and colleagues have used by Slack.

Slack? It is a cool comfortable and includes everything you need to communicate in teams if anyone would have thought so cool so why change?

As each of the soft also has its drawbacks, and perhaps the greatest of them is the free version limit archive. You write something wants a month ago
s return to the sick is not!

The second drawback of this software is the fact that we have no insight into the soft it is on external servers get the finished product we have never sure if anyone is watching us chance for hands.

Not all companies is to agree to the use of external tools.

In case of failure of a platform we can only wait for the repair we do not have the ability to glance what is wrong or fast repair on its own.

Where did the idea as a replacement for Mattermost?

He inspired me entry Mirka the blog webmastah.pl – 5 Free alternatives to Slack.

I decided to test it free alternatives. Something was missing in all the time, not for simple installation for a typical two blacksmith everything seemed so different Podług competitive Slack.

I was enchanted by the simplicity Mattermost resemblance to Slack and ease of installation in the blink of an eye zaintalujemy it on the server, additionally both the admin panel is soft and polonized!

Following is very easy way to install:

We update repositories and make the system upgrade packages:

    sudo apt-get update
    sudo apt-get upgrade

Then, as long as we no longer have the install server, MySQL server.

sudo apt-get install mysql-server

If we have a mysql server on the server, skip this step 😉

After installation and configuration of MySQL server log in the terminal at the root account:

mysql -u root -p

Once logged create a user database:

mysql> create user 'mmuser'@'%' identified by 'mmuser-hasło';

In this way we have created a user with a password mmuser:mmuser-password.

We create database:

mysql> create database mattermost;

In my case, the base has a name mattermost

Then transmits the power to the user database:

   mysql> grant all privileges on mattermost.* to 'mmuser'@'%';

We can already log server mysql.

mysql> exit

The next step is to download and unpack the server Mattermost.

Go to the website https://about.mattermost.com/download/ and download the latest version released:

wget https://releases.mattermost.com/4.6.0/mattermost-4.6.0-linux-amd64.tar.gz

unpack the archive:

tar -xvzf mattermost-4.6.0-linux-amd64.tar.gz

move the entire directory to / opt

mv mattermost /opt

Create a directory where it will be stored our attachments and other files:

mkdir /opt/mattermost/data

Because I'm not a fan of exercise programs directly from the root we create a user and assign him a suitable group:

useradd --system --user-group mattermost
chown -R mattermost:mattermost /opt/mattermost

And we give the appropriate permissions:

chmod -R g+w /opt/mattermost

Then we move on to edit the configuration file to set the database access:

Open the file with your favorite text editor

nano /opt/mattermost/config/config.json

section :

"SqlSettings": {

We replace your default settings:

"DataSource": "mmuser:HASŁO@tcp(localhost:3306)/mattermost?charset=utf8mb4,utf8\u0026readTimeout=30s\u0026writeTim$

Save the settings, we go to the directory script to verify the accuracy of data entered:

cd /opt/mattermost


sudo -u mattermost ./bin/platform

In the bottom of the log you should see the message:
Server is listening on :8065 which means that all the Am launched and our server runs at mattermost :adresipserwer to:8065

We create script auto trigger us to restart the server in case:

sudo touch /lib/systemd/system/mattermost.service

nano /lib/systemd/system/mattermost.service

and fill:

[Unit]
Description=Mattermost
After=network.target
After=mysql.service
Requires=mysql.service

[Service]
Type=simple
ExecStart=/opt/mattermost/bin/platform
Restart=always
RestartSec=10
WorkingDirectory=/opt/mattermost
User=mattermost
Group=mattermost
LimitNOFILE=49152

[Install]
WantedBy=multi-user.target

Save the file and run the daemon reload.

sudo systemctl daemon-reload

check the status:

sudo systemctl status mattermost.service

We should get the result:

● mattermost.service - Mattermost
  Loaded: loaded (/lib/systemd/system/mattermost.service; disabled; vendor preset: enabled)
  Active: inactive (dead)
sudo systemctl start mattermost.service
sudo systemctl enable mattermost.service

So much for a whole should work correctly.
Go to http terazna://adresipserwer to:8065 and pass the configuration process.
Shown above in both tested on Ubuntu and Debian.

project website: https://about.mattermost.com/

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu