zabbix centos7安装出错

版权声明:本文为博主原创文章,如需转载请留言说明。 https://blog.csdn.net/womenrendeme/article/details/84552087

本机环境:centos7.2新系统minimal

此处仅为个人错误。具体参考:朱大哥http://www.zsythink.net/archives/500

异常如下:

--> Finished Dependency Resolution
Error: Package: zabbix-server-mysql-3.2.11-1.el6.x86_64 (zabbix)
           Requires: libnetsnmp.so.20()(64bit)
Error: Package: zabbix-server-mysql-3.2.11-1.el6.x86_64 (zabbix)
           Requires: libmysqlclient.so.16()(64bit)
Error: Package: zabbix-server-mysql-3.2.11-1.el6.x86_64 (zabbix)
           Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit)
Error: Package: iksemel-1.4-2.el6.x86_64 (zabbix-non-supported)
           Requires: libgnutls.so.26()(64bit)
Error: Package: iksemel-1.4-2.el6.x86_64 (zabbix-non-supported)
           Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 

解决措施,修改/etc/yum.repo.d/zabbix.repo里的两处:

修改:

baseurl=http://repo.zabbix.com/zabbix/3.2/rhel/6/$basearch/

为:

baseurl=http://repo.zabbix.com/zabbix/3.2/rhel/7/$basearch/

修改:

baseurl=http://repo.zabbix.com/non-supported/rhel/6/$basearch/

为:

baseurl=http://repo.zabbix.com/non-supported/rhel/7/$basearch/

猜你喜欢

转载自blog.csdn.net/womenrendeme/article/details/84552087