In this guide, we’ll explore how to install Mattermost on CentOS 8|RHEL 8 with Nginx as reverse proxy. Mattermost is free and open-source online team collaboration and chat platform with hundreds of existing integrations from Mattermost and the community. This enables you to build out custom workflows that scale to tens of thousands of concurrent users. You can easily integrate securely with most popular DevOps tools (CI/CD, bots, Git).
Mattermost can be installed on premise infrastructure, in the Cloud, or with hybrid architectures deployment – both public and private clouds. For AWS, Azure, and Google Cloud pre-built open source images are supported for easy installations. Mattermost can be accessed from the web or your favorite device – iOS, Android, Windows, Linux, and Mac.
So let’s begin to install Mattermost on CentOS 8|RHEL 8 With Nginx reverse proxy and optionally configure secure connection with Let’s Encrypt SSL certificate.
Step 1: Update System
Ensure your system is updated.
sudo yum -y updateYou may need to reboot your system after the upgrade.
sudo rebootStep 2: Install Database Server
Our Mattermost server will need a Database server to store its data. For this purpose, we’ll use the MariaDB database server.
sudo yum -y install @mariadb
sudo systemctl enable --now mariadb
sudo mysql_secure_installationAfter database installation, login to MariaDB shell and create database and user for Mattermost.
$ mysql -u root -p
CREATE DATABASE mattermost;
GRANT ALL PRIVILEGES ON mattermost.* TO [email protected] IDENTIFIED BY 'Str0ngPass';
FLUSH PRIVILEGES;
QUIT;Step 3: Install Mattermost Server on CentOS 8|RHEL 8
Add system user to manage Mattermost service.
sudo useradd -d /opt/mattermost -U -M mattermostNow install Mattermost Server on CentOS 8|RHEL 8 Linux. The latest release of Mattermost is available on the Mattermost download page. As of this writing, the latest version available is