change yum Repository

cd  /etc/yum.repos.d/
mv  CentOS-Base.repo CentOS-Base.repo.back

wget -O CentOS-Base.repo http://mirrors.aliyun.com/repo/.repo

yum makecache


你可能感兴趣的:(centos,yum,源)