标签:
1.wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
2.根据教程:http://mirrors.163.com/.help/centos.html操作
rm /etc/yum.repos.d/CentOS-Base.repo cp CentOS-Base-163.repo /etc/yum.repos.d yum clean all yum makecache
验证:
yum repolist # repo name # CentOS-6 -Base - 163.com
标签:
原文地址:http://www.cnblogs.com/xddsq/p/5835549.html