# =========================================================================== # # Mattermost # "is an open-source, self-hostable online chat service with file sharing, # search, and integrations). It is designed as an internal chat for # organisations and companies, and mostly markets itself as an open-source # alternative to Slac and Microsoft Teams. " # # https://mattermost.com/ # # see: # - https://docs.mattermost.com/install/install-debian.html # # - https://docs.mattermost.com/ # # Requirements: # # - NGINX Web Service is installed # - MySQL Service is installed # - lets encrypt certificates available for $FQHN_HOSTNAME # ============================================================================= # --- # 0.) Requirements # --- # ---------- # # 0.) Create new LX Container # # /root/bin/LXC/create-lx-container.sh # ... # # 1.) Assign(Adjust user root # # lxc-attach -n meet # add_new_user.sh root # # Base Install via ansible # # cd /home/chris/devel/git/git.oopen.de/ansible/oopen-server # ansible-playbook --limit meet.oopen.de ansible-dependencies.yml # ansible-playbook --limit meet.oopen.de common.yml # ansible-playbook --limit meet.oopen.de scripts/install-ulogd.yml # ansible-playbook --limit meet.oopen.de firewall.yml # # ---------- # Adjust Firewall # cd /etc/ipt-firewall ... # Install Postfix SMTP Service (base) # cd /usr/local/src/mailsystem ./install_postfix_base.sh # Install Nginx Webserver # cd /usr/local/src/nginx ./install_nginx.sh # Install update mechanism for lets encrypt certificates # cd /usr/local/src/dehydrated-cron ./install_dehydrated.sh # Create certificate(s) # # Adjust '/var/lib/dehydrated/domains.txt' # # vim /var/lib/dehydrated/domains.txt # cat <> /var/lib/dehydrated/domains.txt $FQHN_HOSTNAME EOF /var/lib/dehydrated/cron/dehydrated_cron.sh # --- # 0.1) Requirements MySQL Database Service # --- # Install MySQL Database Service # cd /tmp # See at 'https://dev.mysql.com/downloads/repo/apt/' which is the # actual version of the apt-repository # mysql_apt_version=0.8.29-1 wget https://dev.mysql.com/get/mysql-apt-config_${mysql_apt_version}_all.deb dpkg -i mysql-apt-config_${mysql_apt_version}_all.deb apt-get update apt-get install mysql-server # --- # 0.2) PDF Utils as 'pdftotext' # --- # Install PDF Utils 'poppler-utils' # apt install poppler-utils # --- # 1.) Install Mattermost Service # --- # Trigger install script 'install-mattermost.sh' # # Version: see https://mattermost.com/download/ # ./install-mattermost.sh TODO: Configure GINX Proxy