- rpm -ivh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm
- yum -y install zabbix-proxy zabbix-proxy-MySQL zabbix-agent
- systemct enable zabbix-proxy
- setenforce 0
- systemctl stop firewalld
- systemctl disable firewalld
- yum install -y mariadb mariadb-server mariadb-devel
- systemctl start mariadb
mysql:sudo grep 'temporary password' /var/log/mysqld.log
新裝 mariadb 后,密碼是空的,可以直接進(jìn)入數(shù)據(jù)庫。
mysql -u root -p 回車
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 -p'password' -h 127.0.0.1 zabbix_proxy
13.vi /etc/zabbix/zabbix_proxy.conf
站在用戶的角度思考問題,與客戶深入溝通,找到雙陽網(wǎng)站設(shè)計與雙陽網(wǎng)站推廣的解決方案,憑借多年的經(jīng)驗,讓設(shè)計與互聯(lián)網(wǎng)技術(shù)結(jié)合,創(chuàng)造個性化、用戶體驗好的作品,建站類型包括:成都網(wǎng)站制作、成都做網(wǎng)站、企業(yè)官網(wǎng)、英文網(wǎng)站、手機(jī)端網(wǎng)站、網(wǎng)站推廣、申請域名、雅安服務(wù)器托管、企業(yè)郵箱。業(yè)務(wù)覆蓋雙陽地區(qū)。
Server=yourIP
Hostname=XXX_ZABBIX_PROXY
DBName=zabbix_proxy
DBPassword=youDB_userPassword
DBUSER=yourDB_USERname
14.systemctl start zabbix-proxy
分享題目:快速安裝使用ZABBIXPROXY
鏈接URL:
http://weahome.cn/article/pcsdpc.html