zabbix2.4.2 Source Installation

Source: Internet
Author: User

First, install mysql-5.6.21 (Universal binary)

    1. Useradd-r MySQL

    2. Mkdir-p/data/mysql

    3. Chown-r Mysql.mysql/data/mysql

    4. Tar xvzf zabbix-2.4.2.tar.gz-c/usr/local/

    5. Ln-s Mysql-5.6.21-linux-glibc2.5-x86_64/mysql

    6. CD MySQL

    7. Chown-r root.mysql./*

    8. scripts/mysql_install_db--user=mysql--datadir=/data/mysql--explicit_defaults_for_timestamp

    9. CP Support-files/mysql.server/etc/init.d/mysqld

    10. CP SUPPORT-FILES/MY-DEFAULT.CNF/ETC/MY.CNF

    11. Vi/etc/my.cnf

    12. echo "/usr/local/mysql/lib" >/etc/ld.so.conf.d/mysql.conf && ldconfig-v

    13. Ln-s/usr/local/mysql/include/usr/include/mysql

    14. Chkconfig mysqld on

    15. Service mysqld Start


Second, install zabbix-2.4.2 (source package)

    1. Useradd-r Zabbix

    2. Yum install-y libcurl libcurl-devel libxml2 libxml2-devel gcc gcc-c++ net-snmp-devel

    3. ./configure--prefix=/usr/local/zabbix-2.4.2--enable-server--enable-agent--with-mysql=/usr/local/mysql/bin/ Mysql_config--with-net-snmp--with-libcurl--WITH-LIBXML2

    4. Make install


This article is from the "Hanyun.fang" blog, make sure to keep this source http://hanyun.blog.51cto.com/1060170/1592783

zabbix2.4.2 Source Installation

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.