1.下载163yum源
#wget http://mirrors.163.com/.help/CentOS6-Base-163.repo
2.备份原来的yum源,并替换为163
#cd /etc/yum.repos.d
#mv CentOS-Base.repo CentOS-Base.repo.bak
#mv CentOS6-Base-163.repo CentOS-Base.repo
3.更新yum,使之生效
#yum clean all
#yum makecache
#yum update
本文由 Mr Gu 创作,采用 知识共享署名4.0 国际许可协议进行许可
本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名
最后编辑时间为: Aug 26, 2016 at 09:24 pm