新建个CentOS-Base.repo,把下面代码拖进去

# CentOS-Base.repo
#
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#[base]
name=CentOS-vault-6.10 - Base - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/os/$basearch/http://mirrors.aliyuncs.com/centos-vault/6.10/os/$basearch/http://mirrors.cloud.aliyuncs.com/centos-vault/6.10/os/$basearch/
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6#released updates
[updates]
name=CentOS-vault-6.10 - Updates - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/updates/$basearch/http://mirrors.aliyuncs.com/centos-vault/6.10/updates/$basearch/http://mirrors.cloud.aliyuncs.com/centos-vault/6.10/updates/$basearch/
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6#additional packages that may be useful
[extras]
name=CentOS-vault-6.10 - Extras - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/extras/$basearch/http://mirrors.aliyuncs.com/centos-vault/6.10/extras/$basearch/http://mirrors.cloud.aliyuncs.com/centos-vault/6.10/extras/$basearch/
gpgcheck=1
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-vault-6.10 - Plus - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/centosplus/$basearch/http://mirrors.aliyuncs.com/centos-vault/6.10/centosplus/$basearch/http://mirrors.cloud.aliyuncs.com/centos-vault/6.10/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6#contrib - packages by Centos Users
[contrib]
name=CentOS-vault-6.10 - Contrib - mirrors.aliyun.com
failovermethod=priority
baseurl=http://mirrors.aliyun.com/centos-vault/6.10/contrib/$basearch/http://mirrors.aliyuncs.com/centos-vault/6.10/contrib/$basearch/http://mirrors.cloud.aliyuncs.com/centos-vault/6.10/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirrors.aliyun.com/centos-vault/RPM-GPG-KEY-CentOS-6

接下来就可以继续执行命令了

# yum clean all
# yum makecache

自测有效

暴力解决Centos6YUM下Loaded plugins: fastestmirror Determining fastest mirror和Could not retrieve mirro相关推荐

  1. 解决YUM下Loaded plugins: fastestmirror Determining fastest mirrors 的问题

    Centons下 其大概意思是fastestmirror不能使用,fastestmirror是yum的一个加速插件,具体我也没有仔细了解过,可能是系统不支持或者缺少组建导致的.处理办法就是禁用这个插件 ...

  2. 解决YUM下Loaded plugins: fastestmirror Determining fastest mirrors

    Centons下出现这个问题  其大概意思是fastestmirror不能使用,fastestmirror是yum的一个加速插件,具体我也没有仔细了解过,可能是系统不支持或者缺少组建导致的.处理办法就 ...

  3. 使用yum命令安装服务时,一直卡在Loaded plugins: fastestmirror Determining fastest mirrors

    问题描述:使用yum install git命令安装Git时出现Loaded plugins: fastestmirror Determining fastest mirrors,并且一直卡在这个地方 ...

  4. linux报错Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile解决方法

    linux报错Loading mirror speeds from cached hostfile解决方法 我这里使用的是centOS7的版本,在使用yum安装包时出现了如下问题: Loaded pl ...

  5. yum出现Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解决方法

    yum出现Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile解决方法 参考文章: (1 ...

  6. linux yum报错:Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile

    linux yum报错:Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile   (C ...

  7. Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Could not retrie

    问题:centos yum命令不能使用 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostf ...

  8. Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Package 7:lvm2-2

    安装docker时候遇到的 Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile Pa ...

  9. 使用yum安装wget时报出:Loaded plugins: fastestmirror No such command: instal. Please use /usr/bin/yum --help

    Centos7 使用yum安装wget时报出以下错误: [root@192-168-0-1 network-scripts]# yum -y instal wget Loaded plugins: f ...

最新文章

  1. Thrift的服务器和客户端Python案例
  2. SAP PM 入门系列16 - KO88对维护工单做结算
  3. xcode 的一些问题
  4. 构建 编译和运行Urho3D工程
  5. php 未定义偏移,未定义的偏移PHP错误,尝试从文件读取
  6. PyTorch基础(13)-- torch.nn.Unfold()方法
  7. 基于 WebRTC 实现自定义编码分辨率发送
  8. 【转】服务器维护工程师悲惨的一个星期
  9. 纯ASP结合VML生成完美图-柱图
  10. 从小白到大数据技术专家的学习历程,你准备好了吗
  11. (转)MyBatis框架的学习(三)——Dao层开发方法
  12. swoole 固定包头格式
  13. iOS常用的忽略警告
  14. BZOJ1876 SDOI2009 SuperGCD 其他
  15. Windows 环境下adb.exe无法启动的解决办法之一
  16. android设备如何苹果,Android安卓设备如何连接Mac的方法
  17. 使用插件扩展Docker
  18. webpack4.0关闭开发环境的代码压缩UglifyJsPlugin
  19. 反反复复就是原地踏步
  20. android ios 重力感应器,iOS实时获取当前的屏幕方向之重力感应

热门文章

  1. excel公式不自动计算_公式 | Excel根据起止日期,自动计算每月的计息天数
  2. 计算器算贝塞尔公式_绝版应用!超级好用的计算器!
  3. 人生苦短,快学python(python可以做什么)
  4. Ubuntu升级后 /usr/bin/baloo_file 占用太高CPU
  5. 为什么要刨根问底--《你的灯亮着吗?发现问题的真正所在》
  6. 荣耀Magicbook14 BIOS更新无法开机
  7. CEF 、chromium源码下载前相关代理配置
  8. 我被这个浏览了 746000 次的问题惊住了!
  9. 深入剖析虚拟内存工作原理
  10. android 黑白色主题、滤镜效果(公祭日、追悼日)