jsrpm -Uvh https://mirrors.aliyun.com/zabbix/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
jssed -i 's#http://repo.zabbix.com#https://mirrors.aliyun.com/zabbix#' /etc/yum.repos.d/zabbix.repo
jsyum install zabbix-proxy-mysql zabbix-get -y
jsyum install -y mariadb-server mariadb
jssystemctl enable --now mariadb
jsmysql -uroot -p
jscreate database zabbix_proxy character set utf8 collate utf8_bin;
jsgrant all privileges on zabbix_proxy.* to zabbix@localhost identified by '密码';
jsflush privileges;
jszcat /usr/share/doc/zabbix-proxy-mysql-5.0.34/schema.sql.gz |mysql -uzabbix -p zabbix_proxy
jsvi /etc/zabbix/zabbix_proxy.conf
jssystemctl restart zabbix-proxy
本文作者:松轩(^U^)
本文链接:
版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!