CentOS 6 Installation Zabbix 2.4

Source: Internet
Author: User

Note, there is no picture, there is time to add it again.

  1. Get ready to CentOS6, minimize installation, set IP, test the Internet, turn off SELinux, (later you can turn on SELinux, add Zabbix corresponding ports)

  2. To install the Zabbix software Source:

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

    #这个网址根据要安装Zabbix版本的不同会有不同选择

  3. Yum installation Zabbix and required environment

    Yum install-y mysql mysql-server zabbix-server-mysql zabbix-web-mysql zabbix-agent

  4. Create the users and groups required for the Zabbix service to run

    GROUPADD-G 201 Zabbix

    Useradd-g zabbix-u 201-m Zabbix

  5. Initializing the MySQL server

    /etc/init.d/mysqld start

  6. Create the database and user rights required to run the Zabbix

    Mysql-uroot

    Create database Zabbix character set UTF8 collate utf8_bin;

    --Grant all privileges the zabbix.* to [e-mail protected] identified by ' Zabbix ';

  7. Import the initial data of Zabbix into the database

    Cd/usr/share/doc/zabbix-server-mysql-2.4.6/create

    Mysql-uroot Zabbix < Schema.sql

    Mysql-uroot Zabbix < Images.sql

    Mysql-uroot Zabbix < Data.sql

  8. Modifying the Zabbix configuration

    VI/ETC/ZABBIX/ZABBIX_SERVER.CONF (Specific configuration will be organized later)

  9. Modify PHP Configuration

    Vi/etc/php.ini

    Post_max_size =16m

    Max_execution_time =300

    Max_input_time =300

    Date.timezone = Asia/shanghai

    Post_max_size = 32M

    Restart Service httpd Restart

  10. Setting the time zone

    Ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime

    Yum Install Ntpdate

    Ntpdate us.pool.ntp.org

  11. Set up service to boot

    Chkconfig httpd on

    Chkconfig zabbix-server on;chkconfig mysqld on;chkconfig zabbix-agent on

  12. Confirm opening Apache and Zabbix

    /etc/init.d/zabbix-server start

    /ETC/INIT.D/HTTPD start

  13. On the Web Management page, Zabbix default font will be garbled, under Windows Select a pleasing font renamed to Dejavusans.ttf, replace the server/usr/share/fonts/dejavu/dejavusans.ttf file.

  14. Http://serverIP/zabbix

    The account password is: Zabbix


This article is from the "Da Chuan" blog, please be sure to keep this source http://hughlew.blog.51cto.com/6164128/1721160

CentOS 6 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.