zabbix安装
1、安装zabbix
首先修改yum源
rpm -ivh https://mirror.tuna.tsinghua.edu.cn/zabbix/zabbix/4.4/rhel/7/x86_64/zabbix-release-4.4-1.el7.noarch.rpm
cd /etc/yum.repos.d
vim zabbix.repo
yum安装zabbix
清除和创建YUM缓存
yum clean all
yum makecache
yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent
vi /etc/zabbix/zabbix_server.conf
DBPassword=password //在文本中添加
vi /etc/httpd/conf.d/zabbix.conf
php_value date.timezone Asia/Shanghai //修改时区和监听端口
//启动Zabbix server和agent进程
systemctl restart zabbix-server zabbix-agent httpd
systemctl enable zabbix-server zabbix-agent httpd
连接到新安装的Zabbix前端: http://server_ip_or_name/zabbix
配置zabbix

浙公网安备 33010602011771号