1 安装Mariadb数据库(代替MySQL)yum -y install mariadb*systemctl start mariadbsystemctl enable mariadb #自启动 2 创建数据库create database zabbix;use zabbix;授权Zabbix账号grant all privileges on zabbix.* to zabbix@'%' identified by '12345';或grant all privileges on zabbix…