/etc/yum.conf/etc/yum.repos.d/etc/yum.repos.d/CentOS-Base.repoyum 加速插件:
实现的功能:可以自动选择速度最快的镜像
yum install yum-plugin-fastestmirror/etc/yum/pluginconf.d/fastestmirror.conf/var/cache/yum/timedhosts.txt更换系统默认yum 源
举例:以更换yum源为阿里云yum源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backupwget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo yum clean allyum makecache原文:http://blog.51cto.com/snowlai/2136283