在CentOS yum update命令下升级系统,自行配置更新源。
【教育网来源】
上海交通大学:/centos/
清华大学:/centos/
中国科学技术大学:/centos/(推荐,更快)
[电信网络来源]
上海电信:/centos/$ releaser/OS/$ basearch/
gpgcheck=1
gpg KEY =/CentOS/RPM-GPG-KEY-CentOS-5
#发布的更新
[更新]
name=CentOS-$releasever -更新
# mirror list =/centos/$ release ver/updates/$ base arch/
gpgcheck=1
gpg KEY =/CentOS/RPM-GPG-KEY-CentOS-5
在构建中使用/生成但未发布的包数
[插件]
name=CentOS-$releasever - Addons
# mirror list =/centos/$ release ver/addons/$ base arch/
gpgcheck=1
gpg KEY =/CentOS/RPM-GPG-KEY-CentOS-5
#可能有用的附加软件包
[临时演员]
name=CentOS-$releasever - Extras
# mirror list =/centos/$ release ver/extras/$ base arch/
gpgcheck=1
gpg KEY =/CentOS/RPM-GPG-KEY-CentOS-5
#扩展现有软件包功能的附加软件包
[centosplus]
name=CentOS-$releasever - Plus
# mirror list =/centos/$ release ver/cento plus/$ base arch/
gpgcheck=1
启用=0
gpg KEY =/CentOS/RPM-GPG-KEY-CentOS-5
(保存并退出:wq)
你现在可以品尝了。^_^