650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/BA/wKioL1XsOiuz7G5PAACNkbOZ8S8346.jpg "title=" 11.png "alt=" Wkiol1xsoiuz7g5paacnkboz8s8346.jpg "/>
First, install MySQL
Yum Install Mysql-server-y
1. Start MySQL
/etc/init.d/mysqld start
2. Chkconfig mysqld on
3. Change the login default character set
# VIM/ETC/MY.CNF
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/72/BA/wKioL1XsOuPg9eksAAIT2I4W3Dw034.jpg "title=" P69eh@5{bv][_ok ' J~rta ' n.png "alt=" Wkiol1xsoupg9eksaait2i4w3dw034.jpg "/>
4. Check the character set
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/BE/wKiom1XsOKnzDtkRAAOgrFAfh88013.jpg "title=" [Vn4zb ) h@rdpfsl8jkp]rqs.png "alt=" Wkiom1xsoknzdtkraaogrfafh88013.jpg "/>
5. Create a Zabbix database, create a user
Create databases Zabbix;
Grant all on zabbix.* to [e-mail protected] identified by "Zabbix_pass";
6. Modify Database Information
Vim/etc/zabbix/zabbix_server.conf
dbname=zabbix 91 rows
dbuser=zabbix 107 lines
Dbpassword=zabbix_pass 116 rows Add
dbsocket=/var/lib/mysql/mysql.sock 125 rows, database connection
7. Import Zabbix Table
View tables that need to be imported
# RPM-QL Zabbix-server-mysql|grep SQL
/usr/sbin/zabbix_server_mysql
/usr/share/doc/ zabbix-server-mysql-2.2.10
/usr/share/doc/zabbix-server-mysql-2.2.10/create
/usr/share/doc/ Zabbix-server-mysql-2.2.10/create/data.sql
/usr/share/doc/zabbix-server-mysql-2.2.10/create/images.sql
/ Usr/share/doc/zabbix-server-mysql-2.2.10/create/schema.sql
Import Table
# MySQL Zabbix </usr/share/doc/ Zabbix-server-mysql-2.2.10/create/schema.sql
# mysql Zabbix </usr/share/doc/zabbix-server-mysql-2.2.10/ Create/images.sql
# mysql Zabbix </usr/share/doc/zabbix-server-mysql-2.2.10/create/data.sql
8. Start the service
#/etc/init.d/zabbix-server Start
Starting Zabbix server: [OK]
# chkconfig Zabbix-server on Boot
9. View Log Contents
# tail-f/var/log/zabbix/zabbix_server.log
Second, install the Yum source on all servers
RPM-IVH http://repo.zabbix.com/zabbix/2.2/rhel/6/x86_64/zabbix-release-2.2-1.el6.noarch.rpm
Check if you have this Yum source
# Ls/etc/yum.repos.d/zabbix.repo
/etc/yum.repos.d/zabbix.repo
Third, install Zabbix server
Yum Install Zabbix-server zabbix-server-mysql-y
Iv. Installation of Zabbix web
Yum Install Zabbix-web zabbix-web-mysql-y
V. Change the time zone
# vim/etc/httpd/conf.d/zabbix.conf
Php_value Date.timezone asia/chongqing 18 Line modification
Six, start httpd service
#/ETC/INIT.D/HTTPD Start
# Chkconfig httpd on
Seven, graphical interface installation Zabbix
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/BE/wKiom1XsO3LTj5rgAANvomyjNfY226.jpg "title=" 1.png " alt= "Wkiom1xso3ltj5rgaanvomyjnfy226.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/BA/wKioL1XsPbCCoRfwAAKen7OFwBI505.jpg "title=" 2.png " alt= "Wkiol1xspbccorfwaaken7ofwbi505.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/BA/wKioL1XsPdKz--DQAAJBfnw3-GU247.jpg "title=" 3.png " alt= "Wkiol1xspdkz--dqaajbfnw3-gu247.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/BE/wKiom1XsO8jyDQ3DAAKx_OvBzOQ452.jpg "title=" 4.png " alt= "Wkiom1xso8jydq3daakx_ovbzoq452.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/72/BE/wKiom1XsO9qRjVF4AAIBXz2L3m8674.jpg "title=" 5.png " alt= "Wkiom1xso9qrjvf4aaibxz2l3m8674.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/72/BA/wKioL1XsPhbReD9-AAGhgmfrxVY238.jpg "title=" 6.png " alt= "Wkiol1xsphbred9-aaghgmfrxvy238.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/BA/wKioL1XsPiOiB5zcAAQKZFxAMz0767.jpg "title=" 7.png " alt= "Wkiol1xspioib5zcaaqkzfxamz0767.jpg"/>
This article is from the "Shohai" blog, make sure to keep this source http://eveday.blog.51cto.com/10577430/1692046
1-1 Zabbix Monitoring Installation