1. 安装软件包
rpm -ivh *.rpm
2. 启动服务
vim /etc/php.ini
date.timezone = Asia/Shanghai
service httpd start
service mysqld start
cd /usr/share/doc/zabbix-server-mysql-2.2.?/create
mysql -e 'create database zabbix ;'
mysql zabbix < schema.sql
mysql zabbix < images.sql
mysql zabbix < data.sql
3. 使用浏览器安装zabbix
4. 安装完成,默认用户名密码
用户名:admin 密码:zabbix
5. 配置zabbix服务器并启动
vim /etc/zabbix/zabbix_server.conf
DBPassword=zabbix
mysql> grant all privileges on zabbix.* to zabbix@'localhost' identified by 'zabbix' ;
mysql> flush privileges ;
service zabbix-server start
service zabbix-agent start