LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 3312|回复: 4

如何centos源配置

[复制链接]
发表于 2007-12-25 19:06:49 | 显示全部楼层 |阅读模式
最近刚转用centos。
不知道各位大虾都用centos的那些源。
可否共享下?
发表于 2007-12-25 19:39:36 | 显示全部楼层
# 这是CentOS-Base.repo文件,替换掉原来的文件就可以了,最好备份一下原件。
#
# This file uses a new mirrorlist system developed by Lance Davis for CentOS.
# The mirror system uses the connecting IP address of the client and the
# update status of each mirror to pick mirrors that are updated to and
# geographically close to the client.  You should use this for CentOS updates
# unless you are manually picking other mirrors.
#
# If the mirrorlist= does not work for you, as a fall back you can try the
# remarked out baseurl= line instead.
#
#

[base]

name=CentOS-5 - Base

baseurl=http://mirror.be10.com/centos/5.0/os/i386/

gpgcheck=1

#protect=1



#released updates

[update]

name=CentOS-5 - Updates

baseurl=http://mirror.be10.com/centos/5.0/updates/i386/

gpgcheck=1

#protect=1



#packages used/produced in the build but not released

[addons]

name=CentOS-5 - Addons

baseurl=http://mirror.be10.com/centos/5.0/addons/i386/

gpgcheck=1

#protect=0



#additional packages that may be useful

[extras]

name=CentOS-5 - Extras

baseurl=http://mirror.be10.com/centos/5.0/extras/i386/

gpgcheck=1

#protect=0



#additional packages that extend functionality of existing packages

[centosplus]

name=CentOS-5 - Plus

baseurl=http://mirror.be10.com/centos/5.0/centosplus/i386/

gpgcheck=1

enabled=0

#protect=1



#contrib - packages by Centos Users

[contrib]

name=CentOS-5 - Contrib

baseurl=http://mirror.be10.com/centos/5.0/contrib/i386/

gpgcheck=1

enabled=0

#protect=0



#packages in testing

[testing]

name=CentOS-5 - Testing

baseurl=http://mirror.be10.com/centos/5.0/testing/i386/

gpgcheck=1

enabled=0

#protect=0
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-25 21:35:53 | 显示全部楼层
我这里访问不到
http://mirror.be10.com/centos/5.0/extras/i386/
这个源是不是关闭了?
不过谢谢你。。。找到了一些相关的资源
回复 支持 反对

使用道具 举报

发表于 2007-12-25 23:27:01 | 显示全部楼层
不过好像真的关了叱,那怎么办,我一直用这个源的。现在没得了。
回复 支持 反对

使用道具 举报

发表于 2007-12-25 23:50:56 | 显示全部楼层
http://mirror.lupaworld.com/centos/
http://centos.ermly.com/                      (这个有点怪,没有5.0)
这个好像还可以用,你自己写那个文件吧。把网址改了就行了。好像台湾省也有不少,速度也不错,别处教育网就更多了。自己去找吧。比如交大。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表