다시 정리할 문서
https://mattermost.com/blog/mattermost-installation-for-sysadmins/
https://docs.mattermost.com/upgrade/important-upgrade-notes.html
https://computingforgeeks.com/install-mattermost-on-centos-linux-with-nginx/
https://docs.mattermost.com/install/install-centos-oracle-scientific.html
https://docs.mattermost.com/install/install-rhel-8.html
OS : CentOS 6+ / 7+ / 8
DB : PostgreSQL 10 ( PostgreSQL 9.4 is no longer supported. )
sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm sudo dnf -qy module disable postgresql sudo dnf install -y postgresql10-server sudo /usr/pgsql-10/bin/postgresql-10-setup initdb sudo systemctl enable postgresql-10 sudo systemctl start postgresql-10 /opt/mattermost/ /opt/mattermost/config/config.json /opt/mattermost/data/ /var/lib/pgsql/10/data/ /var/lib/pgsql/10/data/pg_hba.conf /var/lib/pgsql/10/data/postgresql.conf |
sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm sudo dnf -qy module disable postgresql sudo dnf install -y postgresql10-server sudo /usr/pgsql-10/bin/postgresql-10-setup initdb sudo systemctl enable postgresql-10 sudo systemctl start postgresql-10 |
su postgres psql |
https://passwordsgenerator.net
su postgres psql CREATE DATABASE mattermost; CREATE USER mmuser WITH PASSWORD 'STRONG_PASSWORD'; GRANT ALL PRIVILEGES ON DATABASE mattermost to mmuser; \q |
https://www.postgresql.org/download/linux/redhat/
https://mattermost.com/download/
wget https://releases.mattermost.com/5.37.1/mattermost-5.37.1-linux-amd64.tar.gz |
https://www.lesstif.com/ws/selinux-context-48988500.html