安装yum时提示Loaded plugins: fastestmirror

刚使用VMware安装的centos7系统,安装yum -y install httpd时提示Loaded plugins: fastestmirror try other mirror

注:fastestmirror是yum的一个加速插件,这里是插件提示信息是插件不能用了。

解决办法:禁用fastestmirror

修改配置文件

  1. vim /etc/yum/pluginconf.d/fastestmirror.conf 由enabled = 1修改为enabled = 0
  2. vim /etc/yum.conf 修改为plugins=0 不使用插件
  3. 清除缓存并重新构建yum 源:
    yum clean all
    yum clean dbcache
    yum makecache

去试试吧!!!