执行:yum install nginx 提示如下错误,下面说一下解决方法。
Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfileError: Cannot retrieve metalink for repository: epel. Please verify its path and try again
处理很简单,修改文件“vi /etc/yum.repos.d/epel.repo”, 将baseurl的注释取消, mirrorlist注释掉。即可。
如在安装nginx提示如下错误的:
Setting up Install ProcessNo package nginx available.Error: Nothing to do