关于我们

质量为本、客户为根、勇于拼搏、务实创新

< 返回新闻公共列表

linux安装nginx提供Error: Cannot retrieve metalink for

发布时间:2022-11-04 01:01:42
1491984010112764.jpg

执行: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



/template/Home/8a/PC/Static