今天yum安装软件,报错如下:
PHP
[root@iscpe ~]# yum install -y zabbix zabbix-get zabbix-server zabbix-web-mysql zabbix-web zabbix-agent
Loaded plugins: fastestmirror
Determining fastest mirrors
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
解决方法:
PHP
打开/etc/yum.repos.d/epel.repo
将baseurl行的注释取消
将mirrorlist行注释掉
再次yum安装正常