|
|
发表于 2006-11-28 23:27:02
|
显示全部楼层
教育网的源俺不知道了。
不过可以用mirror.be10.com,这个很快。
添加源,我是用手工修改/etc/yum.repos.d/CentOS-Base.repo文件。
我的文件内容如下,仅供参考。:)
[base]
name=CentOS-4.3 - Base
baseurl=http://mirror.be10.com/centos/4.3/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#released updates
[update]
name=CentOS-4.3 - Updates
baseurl=http://mirror.be10.com/centos/4.3/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#packages used/produced in the build but not released
[addons]
name=CentOS-4.3 - Addons
baseurl=http://mirror.be10.com/centos/4.3/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#additional packages that may be useful
[extras]
name=CentOS-4.3 - Extras
baseurl=http://mirror.be10.com/centos/4.3/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-4.3 - Plus
baseurl=http://mirror.be10.com/centos/4.3/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#contrib - packages by Centos Users
[contrib]
name=CentOS-4.3 - Contrib
baseurl=http://mirror.be10.com/centos/4.3/contrib/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4
#packages in testing
[testing]
name=CentOS-4.3 - Testing
baseurl=http://mirror.be10.com/centos/4.3/testing/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.be10.com/centos/RPM-GPG-KEY-centos4 |
|