- 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 后,密码是空的,可以直接进入数据库。
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
站在用户的角度思考问题,与客户深入沟通,找到双阳网站设计与双阳网站推广的解决方案,凭借多年的经验,让设计与互联网技术结合,创造个性化、用户体验好的作品,建站类型包括:成都网站制作、成都做网站、企业官网、英文网站、手机端网站、网站推广、申请域名、雅安服务器托管、企业邮箱。业务覆盖双阳地区。
Server=yourIP
Hostname=XXX_ZABBIX_PROXY
DBName=zabbix_proxy
DBPassword=youDB_userPassword
DBUSER=yourDB_USERname
14.systemctl start zabbix-proxy
分享文章:快速安装使用ZABBIXPROXY
文章出自:
http://cdweb.net/article/pcsdpc.html