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
记录安装zabbix4.4

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

记录安装zabbix4.4
记录安装zabbix4.4
记录安装zabbix4.4
记录安装zabbix4.4
posted @ 2020-07-11 10:29  python小白123  阅读(112)  评论(0)    收藏  举报