Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Zabbix 3.2.6 installation process

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Take the 3.2.6 version of Zabbix as an example to explain

1. Prepare the Lnmp environment.

The environment for this preparation:

Linux:2.6.32-642.el6.x86_64

Nginx:1.12.0

Mariadb:10.2.6

PHP:7.1.6

2. Complete the installation of the Lnmp environment, create the zabbix database in utf8 format in the database, and authorize a user to use the zabbix database.

Create database zabbix character set utf8;grant all on zabbix.* to 'zabbixuser'@'%.%' identified by' zabbixpasswd';flush privileges

3. Download the required rpm packages on the official Zabbix site, and check the official repo version 3.2.6. The yum source provided does not contain each rpm on the server side, and the rpm packages needed on the server side are placed in the deprecated directory, so you need to manually download the rpm and install it.

The yum source can always be installed on the zabbix-release-3.2-1.el6.noarch.rpm # Agent side. Install wget http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/deprecated/zabbix-server-mysql-3.2.6-1.el6.x86_64.rpmwget http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/deprecated/zabbix-web-3.2.6-1.el6.noarch.rpmwget http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_ using yum 64/deprecated/zabbix-web-mysql-3.2.6-1.el6.noarch.rpmwget # install epel yum source When installing the above four rpm using yum, you can directly use the epel source to download and install each dependent wget orwget # yum install Zabbix Serveryum install-y zabbix-get-3.2.6-1.el6.x86_64.rpm zabbix-server-mysql-3.2.6-1.el6.x86_64.rpm zabbix-web-3.2.6-1.el6.noarch.rpm zabbix-web-mysql-3.2.6-1.el6.noarch.rpm

4. Import the sql provided by zabbix web into the database provided for zabbix (the sql file provided here is different from the previous versions. Before, three sql files were imported in turn. After this installation, only one sql compressed file create.sql.gz is provided, which can be decompressed and imported directly)

Gunzip / usr/share/doc/zabbix-server-mysql-3.2.6/create.sql.gzmysql-uUSER-pPASSWD zabbix < / usr/share/doc/zabbix-server-mysql-3.2.6/create.sql

5. After the installation is complete, you can start the service by changing the database name and password in zabbix_server.conf. After binding the web page provided by zabbix with the nginx service, visit the web page directly and enter the web installation.

For the above steps, please refer to the following blog posts:

Source code installation LNMP environment http://www.cnblogs.com/armo/p/6067716.html source code installation zabbix_server server http://www.cnblogs.com/armo/p/6067755.html

Each rpm:

Zabbix-release: a yum source for zabbix is generated, and the relevant software packages can be downloaded directly.

Server side:

A tool for zabbix-get:zabbix to check whether server information can be obtained (usually installed on the server side)

Zabbix-java-gateway: a program for monitoring JMX applications that sends the collected information (see requirements installation)

Zabbix-web:zabbix uses the web interface, which is used to handle dependencies between Apache, PHP,mysql, and so on.

Zabbix-web-mysql: this is supported by mysql in the front segment of zabbix (choose mysql or psql according to the database type, the two database character types are different)

Japanese is supported on zabbix-web-japanese:web.

Agent side:

Zabbix-agent.:zabbix client, which is used to collect various client parameters

Zabbix-sender: used to send data to server or proxy.

Proxy side:

Zabbix-proxy-mysql:zabbix proxy can retrieve the client's data instead of zabbix server, then report the data to zabbix server, and share the pressure of zabbix server to some extent. Zabbix proxy can easily realize centralized and distributed monitoring.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report