Advertisement
Justman10000

Install mattermost

Feb 24th, 2023 (edited)
869
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.69 KB | None | 0 0
  1. version="7.8.0" # The version of your mattermost instance
  2.  
  3. wget https://releases.mattermost.com/$version/mattermost-$version-linux-amd64.tar.gz
  4. gunzip mattermost-$version-linux-amd64.tar.gz
  5. tar xvf mattermost-$version-linux-amd64.tar
  6. mv mattermost/* .
  7. rm -r mattermost*
  8. chmod -R 777 .
  9.  
  10. # Configure mattermost in config/config.json
  11. # Tip: Use my scipt for MariaDB (https://pastebin.com/CxsPHAE7)
  12. Go to "SqlSettings", and edit the value of "DataSource" to following:
  13.  
  14. "username:password@tcp(host:3306)/database?charset=utf8mb4,utf8\u0026writeTimeout=30s" # Adjust "Username, "Password, "Host" and "Database
  15.  
  16. # Start mattermost
  17. bin/mattermost
  18. ## Or inbackgound
  19. screen -S Mattermost bin/mattermost
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement