就是把安装zabbix-2.2.3步骤记录了一下,骗子
#!/bin/bash
groupadd zabbix
useradd zabbix -g zabbix
yum -y install mysql-devel libcurl-devel net-snmp-devel mysql-server mysql gcc php-*
service mysqld restart
sleep 5
mysql<<EOF
create database zabbix character set utf8;
grant all privileges on zabbix.* to zabbix@