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

Quick installation using ZABBIX PROXY

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Rpm-ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpmyum-y install zabbix-proxy zabbix-proxy-mysql zabbix-agentsystemct enable zabbix-proxysetenforce 0systemctl stop firewalldsystemctl disable firewalldyum install-y mariadb mariadb-server mariadb-develsystemctl start mariadb

Mysql:sudo grep 'temporary password' / var/log/mysqld.log

After newly installed mariadb, the password is empty and you can enter the database directly.

Mysql-u root-p enter

MariaDB [(none)] > set password for root@'localhost'=password ('123456'); mysql-uroot-ppassword

Create database zabbix_proxy character set utf8

Grant all on zabbix-proxy to zabbix@'localhost' identified by 'password'

Grant all on zabbix_proxy.* to zabbix@localhost identified by 'zabbix'

10.cd / usr/share/doc/zabbix-proxy-mysql-3.2.11/

11.gunzip shema.sql.gz / / or use zcat

12.cat schema.sql | mysql-uroot-paired password'- h 127.0.0.1 zabbix_proxy

13.vi / etc/zabbix/zabbix_proxy.conf

Server=yourIP Hostname=XXX_ZABBIX_PROXY DBName=zabbix_proxy DBPassword=youDB_userPassword DBUSER=yourDB_USERname

14.systemctl start zabbix-proxy

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

Servers

Wechat

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

12
Report