install zabbix

Down Repo

 rpm -ivh rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
yum repolist


Cài đặt các gói phần mềm

yum -y install ntp php php-bcmath php-gd php-mysql php-xml php-mbstring httpd mysql gcc mysql-server mysql-devel net-snmp net-snmp-utils net-snmp-devel net-snmp-libs curl-devel fping OpenIPMI OpenIPMI-devel automake libidn-devel openssl-devel
Cài thêm Repo
yum repolist


Cài các gói zabbix
yum -y install zabbix-server-mysql zabbix-agent zabbix-web-mysql zabbix-docs
/etc/init.d/ntpd start
chkconfig ntpd on
ln -sf /usr/share/zoneinfo/Asia/Ho_Chi_Minh /etc/localtime
date -s "XX:XX:XX"
/etc/init.d/mysqld start
chkconfig mysqld on
Đặt pass Root cho mysql
mysql_secure_installation
Hoặc
mysql -u root  -p
Tạo database MySQL cho zabbix:
mysql -u root -p
create database zabbix character set utf8;
grant all privileges on zabbix.* to zabbix@localhost identified by '19081988';
flush privileges;

exit