更新前请先备份原来的repo文件,养成好习惯

cd /etc/yum.repos.d/

mv CentOS-Base.repo CentOS-Base.repo.bak

http://mirrors.163.com/.help/centos.html下载对应的repo文件

或者直接用命令下载

wget http://mirrors.163.com/.help/CentOS6-Base-163.repo

然后 yum makecache

观自在菩萨,行深般若波多蜜多时,照见五蕴皆空,度一切苦厄

05-21 23:46