Zabbix RPM Installation Detailed

Source: Internet
Author: User

I. Introduction of Zabbix

Zabbix is an enterprise-class open source solution that provides distributed system monitoring and network monitoring capabilities based on a web interface.

Zabbix can monitor various network parameters, ensure the safe operation of the server system, and provide a flexible notification mechanism to enable system administrators to quickly locate/resolve various problems.

Zabbix consists of 2 parts, Zabbix server and optional Components Zabbix agent.

Zabbix server can be used Snmp,zabbix agent,ping, port monitoring and other methods to provide remote server/network status monitoring, data collection and other functions, it can run in Linux,solaris,hp-ux,aix,free BSD, Open Bsd,os x and other platforms.

####################### #以上摘自百度百科 ########################


Second, the demonstration environment

System: Centos 6.5 Mini Installation

Installed components and package groups: Cmake,development tools,server Platform Development

SOURCE Bundle: mariadb-10.0.12.tar.gz


Third, installation MariaDB

1, decompression mariadb

[Email protected] opt]# tar xf mariadb-10.0.12.tar.gz [[email protected] opt]# lsmariadb-10.0.12 mariadb-10.0.12.tar.gz

2. Create the system user MySQL

[[email protected] opt]# useradd-r MySQL

3. Create a data store directory

[Email protected] opt]# MKDIR/MYDATA/DATA-PV

4, modify the owner of the data storage directory, belong to the group

[Email protected] opt]# chown-r mysql.mysql/mydata/data/

5. Compile and install MARIADB

# cmake . -dcmake_install_prefix=/usr/local/mysql            -DMYSQL_DATADIR=/mydata/data            -DSYSCONFDIR=/etc            -DWITH_INNOBASE_STORAGE_ENGINE=1            -dwith_archive_storage_engine=1           - dwith_blackhole_storage_engine=1   -dwith_readline=1   -dwith_ssl=system            -dwith_zlib=system   -dwith_libwrap =0   -dmysql_unix_addr=/tmp/mysql.sock   -ddefault_charset=utf8            -ddefault_collation=utf8_general_ci# make #  make install 

6. Configuring MARIADB Startup Items

[[email protected] mariadb-10.0.12]# Cd/usr/local/mysql/[[email protected] mysql]# CP support-files/mysql.server/etc/ Rc.d/init.d/mysqldchmod + x/etc/rc.d/init.d/mysqld #添加一个执行参数

7. Replace the MY.CNF configuration file

[email protected] mysql]# cp support-files/my-large.cnf/etc/my.cnf cp:overwrite '/etc/my.cnf '? Y

8. Configure MY.CNF configuration file (add specified data file path)

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5C/3E/wKiom1Uc9xmQ8K6kAADQcz_7gvY130.jpg "title=" 1.png " alt= "Wkiom1uc9xmq8k6kaadqcz_7gvy130.jpg"/>

9. Initialize MARIADB

[Email protected] mysql]# scripts/mysql_install_db--user=mysql--datadir=/mydata/data/

10. Start MARIADB

[[email protected] mysql]#/etc/init.d/mysqld startstarting MySQL. success!

11. Path Mapping

[[email protected] mysql]# ln-s/usr/local/mysql/bin/mysql/usr/bin/#这样可以直接访问mysql, do not write absolute path;


This article is from the "Chun Blog" blog, please be sure to keep this source http://ssc4469.blog.51cto.com/6315913/1627739

Zabbix RPM Installation Detailed

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.