标签:enabled ISE plugins inux file lan cache style from
yum install nginx发生的错误
yum install nginx Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile ..... No package nginx available. Error: Nothing to do
解决方法:
可能缺乏epel
EPEL (Extra Packages for Enterprise Linux)是基于Fedora的一个项目,为“红帽系”的操作系统提供额外的软件包,适用于RHEL、CentOS和Scientific Linux.
yum install epel-release
如果还没解决:
换源
禁用插件
1.修改插件的配置文件
# vim /etc/yum/pluginconf.d/fastestmirror.conf
enabled = 0//由1改为0,禁用该插件
2.修改yum的配置文件
# vim /etc/yum.conf
plugins= 0//改为0,不使用插件
CentOS 7 yum Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile
标签:enabled ISE plugins inux file lan cache style from
原文地址:https://www.cnblogs.com/ryanzheng/p/11263388.html