使用说明
首先备份/etc/yum.repos.d/CentOS-Base.repo
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份)
运行以下命令生成缓存
yum clean all yum makecache
相关链接
- 官方主页: http://www.centos.org/
- 邮件列表: http://www.centos.org/modules/tinycontent/index.php?id=16
- 论坛: http://www.centos.org/modules/newbb/
- 文档: http://www.centos.org/docs/
- Wiki: http://wiki.centos.org/
- 镜像列表: http://www.centos.org/modules/tinycontent/index.php?id=32