[root@localhost bin]# yum -y install zabbix-server-mysql
Loaded plugins: fastestmirror, langpacks
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository zabbix is listed more than once in the configuration
Repository zabbix-non-supported is listed more than once in the configuration
Repository zabbix is listed more than once in the configuration
Repository zabbix-non-supported is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* epel: mirror01.idc.hinet.net
file:///media/cdrom/repodata/repomd.xml: [Errno 14] curl#37 - "Couldn't open file /media/cdrom/repodata/repomd.xml"
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package zabbix-server-mysql.x86_64 0:3.4.15-1.el7 will be installed
--> Processing Dependency: libiksemel.so.3()(64bit) for package: zabbix-server-mysql-3.4.15-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: zabbix-server-mysql-3.4.15-1.el7.x86_64 (zabbix)
Requires: libiksemel.so.3()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@localhost bin]#
解决办法:https://jingyan.baidu.com/article/9158e0000d0179a254122835.html
下载文件iksemel-1.4-6.sdl7.x86_64.rpm
下载地址: <https://centos.pkgs.org/7/puias-unsupported-x86_64/iksemel-1.4-6.sdl7.x86_64.rpm.html>
<<iksemel-1.4-6.sdl7.x86_64.rpm>>
用解决依赖包的方式安装:
[root@localhost ~]# yum install iksemel-1.4-6.sdl7.x86_64.rpm
最后zabbix-server-mysql安装成功:
[root@localhost ~]# yum -y install zabbix-server-mysql