https://mattermost.com/ 슬랙 대안 메신저
# sudo apt install mysql-server
# sudo mysql_secure_installation
# sudo mysql
mysql> create user 'mmuser'@'%' identified by '*********';
mysql> create database mattermost;
mysql> grant all privileges on mattermost.* to 'mmuser'@'%';
mysql> exit
https://docs.mattermost.com/install/installing-ubuntu-2004-LTS.html?src=dl#installing-mattermost-server https://mattermost.com/deploy/
# wget https://releases.mattermost.com/6.5.0/mattermost-6.5.0-linux-amd64.tar.gz
# sudo tar -xvzf mattermost*.gz # sudo mv mattermost /opt # sudo mkdir /opt/mattermost/data # sudo useradd --sytem --user-group mattermost # sudo chown -R mattermost:mattermost /opt/mattermost # sudo chmod -R g+w /opt/mattermost
/opt/mattermost/config/config.json "SqlSettings" : { "DriverName": "mysql", "DataSource": "mmuser:Theta5912!@tcp(localhost:3306)/mattermost?charset=utf8mb4,utf8\u0026readTimeout=30x\u0026writeTimeout=30s",
cd /opt/mattermost sudo -u mattermost ./bin/mattermost >> "Server is listening on [::]:8065", "address":"[::]:8065"
# sudo touch /lib/systemd/system/mattermost.service