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 server

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

How to build zabbix:

1. First of all, the environment zabbi needs

Zabbix requires a lnmp environment, so the installation and configuration of the lnmp environment are not described in detail here. If you don't know how to build it, please refer to the following article:

NGINX installation: http://www.ttlsa.com/nginx/nginx-install-on-linux

Php+nginx configuration: http://www.ttlsa.com/nginx/nginx-php-5.5

Mysql installation: http://www.ttlsa.com/mysql/install-mysql5.6

It should be noted that zabbix has high requirements for the configuration parameters of php:

Here is the configuration of php when I installed it:

[image]

After installing php, you need to modify the configuration file under php.ini. Vim / etc/php.ini modifies the corresponding parameters to the following values:

[image]

Once here, the environment required by zabbix is complete, and then we officially begin the configuration and installation of zabbixde.

Installation of 2.zabbix server side:

Download zabbix package, which is usually downloaded from the official website. Friends who don't know can directly copy the link below.

Http://www.zabbix.com/download.php

After downloading, put it in the specified directory. This directory is specified by myself. I put it under / usr/local/src.

Cd / usr/local/src (go to the directory where the installation package is located)

Ls (check to see if the installation package exists or if it is the version you need)

Tar-zxvf zabbix-3.2.15.tar.gz (decompress the installation package)

Cd zabbix-3.2.15 (go to the directory after decompression)

/ configure-- enable-server-- enable-agent-- with-mysql-- with-net-snmp-- with-libcurl-- with-libxml2

Make (for compilation)

Make install (compile and install)

2.2 create a user

Groupadd zabbix (create a zabbix user group)

Useradd-g zabbix zabbix (create a zabbix user and add him to the zabbix user group)

2.2 Import the database (or initialize the database)

There are three databases under / usr/loccla/src/zabix-3.2.15/database/mysql. Import them into the database you have installed.

[image]

[image]

2.3 configuration of zabbix.

The configuration file is: / usr/local/src/zabbix-3.2.15/conf/zabbix-server.conf

You can test him out for easy search, and modify the relevant configuration files as follows:

[image]

(these configurations are mainly database configurations)

2.4 start zabbix server

The startup file for zabbix is at: / usr/local/sbin/zabbix_server

The default port for zabbix is 10051

Web page configuration for 3.zabbix

Place the entire php file of zabbx in the location specified on the web page of the http configuration file:

Online configuration of the 4.zabbix page:

The browser opens http://192.168.205.153 (here is your ip. If you cannot access it, add zabbix after it)

Once inside, follow the prompts step by step:

[image]

When all is done, you will go to the following landing page:

[image]

At this point, the configuration of zabbix server is complete.

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