Install Ubuntu Server 18.04 LTS
Install the 64-bit version of Ubuntu Server on each machine that hosts one or more of the components.
Install Ubuntu Server 18.04
To install Ubuntu Server 18.04, see the Ubuntu Installation Guide.
After the system is installed, make sure that it’s up to date with the most recent security patches. Open a terminal window and issue the following commands:
sudo apt update
sudo apt upgrade
Now that the system is up to date, you can start installing the components that make up a Mattermost system.
To uninstall For Ubuntu 18.04
Stop the service:
sudo service mattermost stop
Disable the service:
sudo systemctl disable mattermost
Remove the service file:
sudo rm /lib/systemd/system/mattermost.service
Reload systemctl:
systemctl daemon-reload
Warning
The following commands are permanent and irreversible:
Permanently remove the Mattermost directory:
sudo rm -rf /opt/mattermost
Permanently delete the database:
DROP DATABASE mattermost;