CentOS 5.5 yum 国内更新源
备份yum配置文件,修改yum配置文件.
1
2
cp /etc/yum.repos.d/CentOS-Base.repo CentOS-Base.repo_bak
vi /etc/yum.repo.d/CentOS-Base.repo
我们使用中科大(ustc)yum源.用下面的内容覆盖CentOS-Base.repo就行了. 中科大(ustc)yum源,http://centos.ustc.edu.cn/centos/5/就是最新的, 也可以设置成 http://centos.ustc.edu.cn/centos/5.5/
1
2
3
4
5
6
7
8
9
10
11
12