CentOS 7 搭建zabbix分布式监控系统
zabbix平台搭建
关闭防火墙和selinux sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config systemctl disable --now firewalld
安装zabbix rpm源(这里用华为云)
用华为云zabbix源 rpm -Uvh https://mirrors.huaweicloud.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm sed -i 's#http://repo.zabbix.com#https://mirrors.huaweicloud.com/zabbix#' /etc/yum.repos.d/zabbix.repo yum clean all
安装zabbix server 和agent
yum install zabbix-server-mysql zabbix-agent -y
安装zabbix前端源
yum install centos-release-scl -y
启动前端源之前,先更改下设置,将zabbix-frontend的enabled设置为1
vi /etc/yum.repos.d/zabbix.repo [zabbix-frontend] name=Zabbix Official Repository fronte
版权声明:本文为qq_40997277原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。