Yum install zabbix

Source: Internet
Author: User

Environment: centos 6.5



  1. Download and install the epel Source

Links http://fedoraproject.org/wiki/EPEL

Rpm-IVH epel -*


2. Install the amp Environment


Yum install httpd MySQL mysql-server PHP-mysql-y


3. Install zabbix


Yum install zabbix22.x86 _ 64 zabbix22-agent.x86_64 zabbix22-server.noarch zabbix22-server-mysql.x86_64 zabbix22-web.noarch zabbix22-web-mysql.noarch

4. Start httpd and mysqld


Service httpd restart

Chkconfig httpd on

Service mysqld restart

Chkconfig mysqld on


5. Configure zabbix


Http://server3.example.com/zabbix


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/43/D2/wKioL1PdDPKSibFqAAKZkJAy6Ao969.jpg "Title =" 1.png" alt = "wkiol1pddpksibfqaakzkjay6ao969.jpg"/>


Next


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/43/D2/wKioL1PdDTuTq4vhAALC33lpSEM938.jpg "Title =" 2.png" alt = "wkiol1pddtutq4vhaalc33l1_m938.jpg"/>

Vim/etc/PHP. ini

Post_max_size = 16

Max_execution_time= 300

Max_input_time= 300

Date. timezone = Asia/Shanghai


Retry ---- next


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/43/D2/wKioL1PdDU_jIresAAKP0LCEVTg388.jpg "Title =" 3.png" alt = "wkiol1pddu_jiresaakp0lcevtg388.jpg"/>


Mysql> Create Database zabbix;
Query OK, 1 row affected (0.00 Sec)

Mysql> grant all on zabbix. * to [email protected] "%" identified by "password ";
Query OK, 0 rows affected (0.00 Sec)


[[Email protected] zabbix22-server-2.2.1] # cd/usr/share/zabbix-MySQL/
[[Email protected] zabbix-mysql] # ls
Data. SQL images. SQL schema. SQL upgrades
[[Email protected] zabbix-mysql] # mysql-u zabbix-P zabbix <schema. SQL
Enter password:
[[Email protected] zabbix-mysql] # mysql-u zabbix-P zabbix <images. SQL
Enter password:
[[Email protected] zabbix-mysql] # mysql-u zabbix-P zabbix <data. SQL
Enter password:
[[Email protected] zabbix-mysql] #


Vim/etc/zabbix/zabbix_server.conf
Dbname = zabbix

Dbuser = zabbix

Dbpassword = Password


/Etc/init. d/mysqld restart



Next

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/43/D3/wKioL1PdJ-Gxk40vAAIytfQF4po930.jpg "Title =" 4.png" alt = "wKioL1PdJ-Gxk40vAAIytfQF4po930.jpg"/>


Next


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/43/D3/wKioL1PdKSexChjZAAHvASXj7VI959.jpg "Title =" 6.png" alt = "wkiol1pdksexchjzaahvasxj7vi959.jpg"/>


Next

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/43/D2/wKiom1PdKCLBKD3OAAIsOFpFRik693.jpg "Title =" 7.png" alt = "wkiom1pdkclbkd3oaaisofpfrik693.jpg"/>

Next

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M02/43/D3/wKioL1PdKVLgm-KyAAGyoqVAkQo093.jpg "Title =" 8.png" alt = "wKioL1PdKVLgm-KyAAGyoqVAkQo093.jpg"/>


Finish




6. Access zabbix


Http://server3.example.com/zabbix


Default, Username: Admin, password: zabbix

650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/43/D2/wKiom1PdKJfgR8RVAAEsg_CuvEQ134.jpg "Title =" 9.png" alt = "wkiom1pdkjfgr8rvaaesg_cuveq134.jpg"/>



This article is from the "Wei Guo Bao Jia" blog, please be sure to keep this source http://zengbaobao.blog.51cto.com/2672985/1534331

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.