1、首先备份/etc/yum.repos.d/CentOS-Base.repo
1 |
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup |
2、根据CentOS版本选择操作
CentOS-5
1 2 |
wget http://mirrors. |
1、首先备份/etc/yum.repos.d/CentOS-Base.repo
1 |
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup |
2、根据CentOS版本选择操作
CentOS-5
1 2 |
wget http://mirrors. |