Rapid deployment of Zabbix 6.4 in CentOS 2.4
1. Prepare the environment
CentOS 1, 6.4
Disable selinux and iptables
Two virtual machines: one Server and one Agent
2. Install the official yum Source
Install this yum source on all servers
Rpm-ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
3. Deploy Zabbix Server
Yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent mysql-server mysql-y
/Etc/init. d/mysqld start
Mysql-e "create database zabbix character set utf8 collate utf8_bin ;"
Mysql-e "grant all privileges on zabbix. * to zabbix @ localhost identified by 'zabbix ';"
Cd/usr/share/doc/zabbix-server-mysql-2.4. */create/
Mysql-uroot zabbix <schema. SQL
Mysql-uroot zabbix <images. SQL
Mysql-uroot zabbix <data. SQL
Sed-I's/^. * DBPassword =. * $/DBPassword = zabbix/'/etc/zabbix/zabbix_server.conf
Service zabbix-server start
Service zabbix-agent start
Sed-I's/^. * date. timezone =. * $/date. timezone = Asia \/Shanghai/G'/etc/php. ini
Sed-I's/^. * post_max_size =. * $/post_max_size = 16 M/G'/etc/php. ini
Sed-I's/^. * max_execution_time =. * $/max_execution_time = 300/G'/etc/php. ini
Sed-I's/^. * max_input_time =. * $/max_input_time = 300/G'/etc/php. ini
Service httpd restart
Chkconfig mysqld on
Chkconfig zabbix-server on
Chkconfig zabbix-agent on
Chkconfig httpd on
Some Zabbix Tutorials:
Install and deploy the distributed monitoring system Zabbix 2.06
Install and deploy the distributed monitoring system Zabbix 2.06
Install and deploy Zabbix in CentOS 6.3
Zabbix distributed monitoring system practice
Under CentOS 6.3, Zabbix monitors apache server-status
Monitoring MySQL database Parameters Using Zabbix in CentOS 6.3
Install Zabbix 2.0.6 in 64-bit CentOS 6.2
Open a browser to access http: // server_ip/zabbix/
Click Next...
Click Next...
Click 'test connection' to continue Next
Continue Next...