System

mattermost

사리생성 2025. 12. 22. 17:51

mattermost 설치정보

Mattermost Team Edition v8.0.1 - View Changelog - Download
https://releases.mattermost.com/8.0.1/mattermost-team-8.0.1-linux-amd64.tar.gz

 

 

mysql 설치

sudo yum install https://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.rpm -y
sudo yum provides mysql-community-server
sudo yum install mysql-community-server-8.0.23-1.el7.x86_64 -y

sudo systemctl start mysqld
sudo systemctl status mysqld

sudo cat /var/log/mysqld.log | grep "A temporary password"

mysql> create user 유저@localhost identified by '---';
Query OK, 0 rows affected (0.01 sec)
mysql> create database mattermost;
Query OK, 1 row affected (0.01 sec)
mysql> grant all privileges on mattermost.* to 유저@localhost;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye

 

 

mattermost 설치

https://docs.mattermost.com/install/install-rhel-8.html
그냥 이대로 하면 됨. 서버가 구려서 시작하는데 오래 걸림.
sudo systemctl start mattermost
sudo systemctl stop mattermost
sudo systemctl status mattermost

 

 

http://IP:8065/preparing-workspace

 

보안 및 설정

Configuring transport encryption - Mattermost documentation
이대로 하고 재실행

 

첫 화면 수정.
System Console → Site Configuration -> Customization → Site Name 변경, Custom Brand Image 변경.

 

메일 등록
에러내용 : Preview Mode: Email notifications have not been configured.
메일주소 등록.

SMTP Server : smtp.gmail.com
SMTP Server Port : 587
Enable SMTP Authentication : true
SMTP Server Username : 메일주소
SMTP Server Password : 2인증 패스워드 (앱비밀번호)
connection Security : STARTTLS
Test Connection 버튼 클릭 → No errors were reported while sending an email. Please check your inbox to make sure.

[ec2-user@ip-172-31-16-132 ~]$ sudo systemctl restart mattermost
[ec2-user@ip-172-31-16-132 ~]$ ps -ef | grep mattermost
matterm+ 26148     1 60 06:04 ?        00:00:13 /opt/mattermost/bin/mattermost
matterm+ 26242 26148  0 06:04 ?        00:00:00 plugins/com.mattermost.nps/server/dist/plugin-linux-amd64
matterm+ 26258 26148  0 06:04 ?        00:00:00 plugins/com.mattermost.calls/server/dist/plugin-linux-amd64
ec2-user 26392 25874  0 06:04 pts/0    00:00:00 grep --color=auto mattermost
[ec2-user@ip-172-31-16-132 ~]$

 

SITE CONFIGURATION → Notifications → Enable Email Notifications → true 로 변경.
Notification Display Name: no_reply
Notification From Address: 메일주소 
Support Email Address: 메일주소.

 

 

이메일 확인 필요 true 로 변경.
Authentication → Email → Require Email verification → true 변경

한글 우선
System Console → Site Configuration -> Localization → 한국어 선택.

 

채널명 변경 (기본값이라 콘솔에선 변경이 안됨.)
”Town Square → 일반” 으로 변경.

mysql> update Channels set DisplayName = '일반' where Id = 'dsaeh1umnffapfo55qis6d36se';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0
update Channels set DisplayName = '전직원' where Id = 'dsaeh1umnffapfo55qis6d36se';

 

 

'System' 카테고리의 다른 글

구글 서버에 php, mysql 설치.  (0) 2024.05.11
구글 클라우드.  (0) 2024.05.10
AWS EC2에 제니퍼 설치 (APM)  (0) 2024.03.13
aws 권한 (계정 추가)  (0) 2024.03.12
ubuntu python mysql dynamodb airflow postgresql redis docker yarn  (0) 2024.02.17