월루를 꿈꾸는 대학생
CentOS7 Zabbix5 설치 및 한국어로 바꾸기 본문
yum install epel-release -y
yum -y update
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
yum clean all
yum install zabbix-server-mysql zabbix-agent
yum install centos-release-scl
yum install zabbix-web-mysql-scl zabbix-apache-conf-scl
yum -y install mariadb-server
systemctl start mariadb
systemctl enable mariadb
nano /etc/yum.repos.d/zabbix.repo
mysql -u root -p
create database zabbix_db character set utf8 collate utf8_bin;
create user zabbix@localhost identified by 'zabbix';
grant all privileges on zabbix_db.* to zabbix@localhost;
flush privileges;
quit;
비번 zabbix
zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix_db
nano /etc/zabbix/zabbix_server.conf
DBName=zabbix_db
DBUser=zabbix
DBPassword=zabbix
# 해당부분 변경
nano /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf
시간대 변경
systemctl restart zabbix-server zabbix-agent httpd rh-php72-php-fpm
systemctl enable zabbix-server zabbix-agent httpd rh-php72-php-fpm
firewall-cmd --add-service={http,https} --permanent
firewall-cmd --add-port={10051/tcp,10050/tcp} --permanent
firewall-cmd --reload
nano /etc/selinux/config
reboot
재시작
설치 끝
웹 접속
localhost/zabbix
mv /home/cent/다운로드/zabbix.conf.php /etc/zabbix/web/
로그인
id : Admin
pw : zabbix
한글로 언어 변경
출처
https://technologyrss.com/how-to-install-zabbix-5-0-on-centos-7/
'Server&Network > Capston' 카테고리의 다른 글
0915 캡스톤 연결 확인 (0) | 2020.09.15 |
---|---|
Centos7 Rsyslog 로그 서버 (0) | 2020.09.15 |
구글 드라이브 스트리밍 서비스 (0) | 2020.09.13 |
0913 캡스톤 회의 내용 (0) | 2020.09.13 |
mirror server 를 kakao로 바꾸기 (0) | 2020.09.13 |