2.0环境
采用Centos6.3_64位操作系统
Zabbix安装
Zabbix 2.0 for RHEL5:
# rpm -ivh http://repo.zabbix.com/zabbix/2.0/rhel/5/x86_64/zabbix-release-2.0-1.el5.noarch.rpm
Zabbix 2.0 for RHEL6:
# rpm -ivh http://repo.zabbix.com/zabbix/2.0/rhel/6/x86_64/zabbix-release-2.0-1.el6.noarch.rpm
Zabbix安装服务端
# yum install zabbix-server-mysql zabbix-web-mysql
Zabbix安装agent
Example for installing Zabbix agent only.
# yum install zabbix-agent
创建zabbix数据库
# mysql -uroot
mysql> create database zabbix character set utf8;
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
mysql> exit
Zabbix
# vi /etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
服务开启
service zabbix-server start
PHP环境时间配置
date.timezone =Asia/Shanghai