Centos7 zabbix4.0安装

  1. rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-2.el7.noarch.rpm
    yum clean all 2.yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent 3.yum groupinstall -y mariadb 4.systemctl start mariadb

mysql> create database zabbix character set utf8 collate utf8_bin; mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'password'; flush privileges; 6.导入表 8.vi /etc/httpd/conf.d/zabbix.conf 9. vi /etc/zabbix/zabbix_server.conf

10 . yum install -y httpd systemctl start httpd systemctl enable httpd setenforce 0 ;systemctl stop firewalld systemctl restart zabbix-server zabbix-agent systemctl enable zabbix-server zabbix-agent 11

登录最新版Zabbix 默认用户Admin 默认密码zabbix