实验环境:Centos7.0
IP:192.168.47.140
关闭iptables及setenforce
导入源 rpm -ivh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
安装zabbix包
安装完成
安装MysqL源
wget @L_404_8@
rpm -ivh MysqL-community-release-el7-5.noarch.rpm
yum install -y MysqL-community-server
安装完成
启动MysqL服务
设置MysqL
MysqL_secure_installation
登陆MysqL
MysqL-uroot-p
创建相关数据库
createdatabasezabbixcharactersetutf8collateutf8_bin;
grantallprivilegesonzabbix.*tozabbix@localhostidentifiedby'zabbix';
切换目录 复制文件
cd/usr/share/doc/zabbix-server-MysqL-3.0.13
zcatcreate.sql.gz|MysqL-uroot-pzabbix
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
vim/etc/zabbix/zabbix_server.conf
启动zabbix-server
修改zabbix配置
vim/etc/httpd/conf.d/zabbix.con
PHP_valuedate.timezoneAsia/Shanghai
启动http服务
systemctl start httpd
访问测试