Slack은 워낙 유명해서, 개발자라면 누구나 알 것 인다.
하지만, Slack은 B2C 즉 open Cloud상에서 동작하는 내용으로 기업내 환경 혹은 단독 설치를 위한 Opensource로 찾은 것이 Mattermost 이다
[Homepage]
https://about.mattermost.com/
Require Mysql
[DB 생성]
mysql> CREATE DATABASE mattermost; mysql> CREATE DATABASE mattermost_test; mysql> CREATE USER 'mmuser'@'%' IDENTIFIED BY 'mostest'; mysql> GRANT all ON *.* TO 'mattermost'@'127.0.0.1' IDENTIFIED BY 'mostest'; |
Download Mattermost
https://releases.mattermost.com/3.6.2/mattermost-3.6.2-linux-amd64.tar.gz
tar -zxvf mattermost-3.6.2-linux-amd64.tar.gz mv mattermost /block/ mkdir -p /block/mattermost/data useradd -r mattermost -U chown -R mattermost.mattermost /block/mattermost chmod -R g+w /block/mattermost cd /block/mattermost/config vi config.json |
"SqlSettings": { "DriverName": "mysql", "DataSource": "mmuser:mostest@tcp(127.0.0.1:3306)/mattermost_test?charset=utf8mb4,utf8", "DataSourceReplicas": [], |
dockerhost 를 IP(127.0.0.1 or xxx.xxx.xxx.xxx)로 변경
cd /block/mattermost/bin
./platform
끝