内托体头 发表于 2024-9-11 18:06:14

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

执行: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
页: [1]
查看完整版本: linux安装nginx提供Error: Cannot retrieve metalink for