树叶云linux教程:linux安装nginx提供Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again的解决方法!

执行:yum install nginx  提示如下错误,下面说一下解决方法。

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: 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

参考教程:http://IDC.NET/2015/03/12/312.html

本教程由铁网维原创出品 服务器运维官方网址http://IDC.NET 欢迎大家多多关注本站 感谢大家的支持。

文章来源网络,作者:管理,如若转载,请注明出处:https://shuyeidc.com/wp/167504.html<

(0)
管理的头像管理
上一篇2025-03-21 01:10
下一篇 2025-03-21 01:12

相关推荐

发表回复

您的邮箱地址不会被公开。必填项已用 * 标注