一、安装部署
1.关闭防火墙及SELinux
[root@localhost ~]# setenforce 0 #关闭SELinux
[root@localhost ~]# systemctl stop firewalld #关闭防火墙
[root@localhost ~]# systemctl disable firewalld #永久关闭防火墙
2.配置zabbix 5.0源
# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
# yum clean all
3.安装zabbix各组件
# yum -y install zabbix-server-mysql zabbix-agent zabbix-get
4.安装zabbix前端组件
# yum -y install centos-release-scl #安装zabbix前端yum源
# vim /etc/yum.repos.d/zabbix.repo #开启zabbix-frontend源
[zabbix-frontend]
enabled=1
# yum -y install zabbix-web-mysql-scl zabbix-nginx-conf-scl zabbix-web-deps-scl
5. 安装及配置Mysq