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

CentOS7.3yum install zabbix3.2

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

Share

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

1. Environmental preparation

System version CentOS Linux release 7.3.1611 (Core) IP192.168.10.60

2. Zabbix installation

2.1 install Aliyun yum configuration file

Rpm-ivh https://mirrors.aliyun.com/zabbix/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch.rpm

2.2 install zabbix-server, zabbix-agent, mariadb

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

2.3 modify the php time zone

Sed-I's answer # php_value date.timezone Europe/Riga@php_value date.timezone Asia/Shanghai@g' / etc/httpd/conf.d/zabbix.conf

2.4 create a zabbix database

Start mariadb and create the zabbix database.

Systemctl start mariadbmysqlMariaDB [(none)] > create database zabbix character set uft8 collate utf8_bin;ERROR 1115 (42000): Unknown character set: 'uft8'MariaDB [(none)] > create database zabbix character set utf8 collate utf8_bin;Query OK, 1 row affected (0.00 sec) MariaDB [(none)] > grant all on zabbix.* to zabbix@'localhost' identified by' 123456 interview query OK, 0 rows affected (0.00 sec) MariaDB [(none)] > exit Cd / usr/share/doc/zabbix-server-mysql-3.2.6/zcat create.sql.gz | mysql- uzabbix-p123456 zabbix

2.5 modify zabbix configuration

Modify zabbix database password

Sed-I '116a DBPassword=123456' / etc/zabbix/zabbix_server.conf

2.6 start zabbix and httpd

Systemctl start zabbix-serversystemctl start zabbix-agentsystemctl start httpd

2.7 web interface installation

Enter http://192.168.10.60/zabbix/setup.php in the browser

Next step

Next step

Enter the password for the zabbix database

Enter the name of the zabbix server, such as zabbis-server

Complete

Log in with the username password of Admin/zabbix

2.8 modify the Chinese font to prevent the monitoring picture from being garbled

1) find a font in the control panel, such as boldface

2) upload to / usr/share/zabbix/fonts

Note: you can upload it with the lrzsz tool.

3) change the uppercase font to lowercase

Mv SIMHEI.TTF simhei.ttf

4) modify defines.inc.php

Sed-I's graphic fonts simheifolg'/ usr/share/zabbix/include/defines.inc.php

2.9 enable zabbix-server native monitoring

2.10 revised to Chinese

#

Complete the installation of zabbix3.2!

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