CentOS 6.5 under Installation Zabbix 2.4

Source: Internet
Author: User
Tags php mysql

1. Dependent package installation (installation Zabbix must be based on lamp or LNMP environment)

Yum install-y gcc gcc-c++ autoconf httpd php mysql mysql-server php-mysql httpd-manual mod_ssl mod_perl mod_auth_mysql ph P-GD php-xml php-mbstring php-ldap php-pear php-xmlrpc php-bcmath mysql-connector-odbc mysql-devel libdbi-dbd-mysql Net-snmp-devel Curl-devel

2. Installing the Repository Package

RPM-IVH http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm

3. Install Zabbix Package

Yum Install Zabbix-server-mysql Zabbix-web-mysql zabbix-agent

4. Start the database

/etc/init.d/mysqld start

5. Create Zabbix database and user in MySQL

Mysql-urootmysql> CREATE database Zabbix character Set UTF8 collate utf8_bin;mysql> grant all privileges on Zabbix. * to [e-mail protected] identified by ' Zabbix ';mysql> flush privileges;mysql> exit

6. Import data

Cd/usr/share/doc/zabbix-server-mysql-2.4.2/create/mysql-uzabbix-pzabbix Zabbix < Schema.sql Mysql-uzabbix- Pzabbix Zabbix < Images.sql Mysql-uzabbix-pzabbix Zabbix < Data.sql

7. Edit PHP configuration Zabbix front End

vim/etc/httpd/conf.d/zabbix.conf php_value max_execution_time php_value memory_limit 128M php_value post_ma X_size 16M php_value upload_max_filesize 2M php_value max_input_time php_value date.timezone Asia/Shanghai

8. Start Apache Service

/ETC/INIT.D/HTTPD start

9. Installation Wizard

/HTTP Server Ip/zabbix

650) this.width=650; "style=" Float:none; "title=" 1 "alt=" wkiol1sbyneau5hlaaj0pgmpyrm544.jpg "src=" http:// S3.51cto.com/wyfs02/m00/54/68/wkiol1sbyneau5hlaaj0pgmpyrm544.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 2 "alt=" wkiom1sbyeiq8povaamn9rdkc08552.jpg "src=" http:// S3.51cto.com/wyfs02/m00/54/69/wkiom1sbyeiq8povaamn9rdkc08552.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 3 "alt=" wkiol1sbynfqzipyaakm8edkne8584.jpg "src=" http:// S3.51cto.com/wyfs02/m01/54/68/wkiol1sbynfqzipyaakm8edkne8584.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 4 "alt=" wkiom1sbyentjqiwaaizh_nzak8610.jpg "src=" http:// S3.51cto.com/wyfs02/m01/54/69/wkiom1sbyentjqiwaaizh_nzak8610.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 5 "alt=" wkiol1sbynickp-vaakxmv0d5xm383.jpg "src=" http:// S3.51cto.com/wyfs02/m02/54/68/wkiol1sbynickp-vaakxmv0d5xm383.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 6 "alt=" wkiom1sbyeni2vihaah4ghwz_qg769.jpg "src=" http:// S3.51cto.com/wyfs02/m02/54/69/wkiom1sbyeni2vihaah4ghwz_qg769.jpg "/>

Default account admin, password Zabbix

650) this.width=650; "style=" Float:none; "title=" 7 "alt=" wkiol1sbynjwmnsraag69pl5rlk799.jpg "src=" http:// S3.51cto.com/wyfs02/m00/54/68/wkiol1sbynjwmnsraag69pl5rlk799.jpg "/>

650) this.width=650; "style=" Float:none; "title=" 8 "alt=" wkiom1sbyerxjseoaaphcmsjiwc040.jpg "src=" http:// S3.51cto.com/wyfs02/m02/54/69/wkiom1sbyerxjseoaaphcmsjiwc040.jpg "/>

This article from "zhou_m blog" blog, declined reprint!

CentOS 6.5 under Installation Zabbix 2.4

Related Article

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.