概述
因为开发需要,使用了Centos5的系统,release是5.0,发现阿里和网易5.0的源都已经不能用了,所以利用网易的repo文件改了一个vault.centos.org的源,记录一下,防止下次再乱找
# CentOS-Base.repo
#
# 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-$releasever - Base - centos.org
baseurl=http://vault.centos.org/$releasever.0/os/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#released updates
[updates]
name=CentOS-$releasever - Updates - centos.org
baseurl=http://vault.centos.org/$releasever.0/updates/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons - centos.org
baseurl=http://vault.centos.org/$releasever.0/addons/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras - centos.org
baseurl=http://vault.centos.org/$releasever.0/extras/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus - centos.org
baseurl=http://vault.centos.org/$releasever.0/centosplus/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
enabled=0
#contrib - packages by Centos Users
[contrib]
name=CentOS-$releasever - Contrib - centos.org
baseurl=http://vault.centos.org/$releasever.0/contrib/$basearch/
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
enabled=0
最后
以上就是花痴荷花为你收集整理的Centos5的yum源的全部内容,希望文章能够帮你解决Centos5的yum源所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复