/etc/yum.conf
/etc/yum.repos.d
/etc/yum.repos.d/CentOS-Base.repo
yum 加速插件:
实现的功能:可以自动选择速度最快的镜像
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.backup
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum clean all
yum makecache
原文:http://blog.51cto.com/snowlai/2136283