centos YUM的升级点
精选
转载
原文:[url]http://unix-cd.com/unixcd12/article_6228.html[/url]
把YUM的升级点改成这个镜像站: #vi /etc/yum.repos.d/CentOS-Base.repo 把文件里的内容改成以下就可以了 [base] name=CentOS-$releasever - Base baseurl=http://mirror.be10.com/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos-4
#released updates [update] name=CentOS-$releasever - Updates baseurl=http://mirror.be10.com/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos-4
#packages used/produced in the build but not released [addons] name=CentOS-$releasever - Addons baseurl=http://mirror.be10.com/centos/$releasever/addons/$basearch/ gpgcheck=1 gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos-4
#additional packages that may be useful [extras] name=CentOS-$releasever - Extras baseurl=http://mirror.be10.com/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos-4
#additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus baseurl=http://mirror.be10.com/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos-4
#contrib - packages by Centos Users [contrib] name=CentOS-$releasever - Contrib baseurl=http://mirror.be10.com/centos/$releasever/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos-4
| |