怎么用163的源升级Fedora或CentOS

163做了件大好事,有网友说可以用163的源来升级Fedora或CentOS,具体怎么做,多谢指教。

作者: Relief   发布时间: 2009-02-09

http://mirrors.163.com/fedora/  现在里面还没有软件包,无法使用。

简单的方法就是将fedora-updates.repo、fedora.repo 这两个文件下载后放到 /etc/yum.repos.d/目录下。
但是因为163那个源没有内容,连repomd.xml文件都没有,所以在更新的时候,会提示两个源错误。

[ 本帖最后由 marco.chan 于 2009-2-9 17:01 编辑 ]

作者: marco.chan   发布时间: 2009-02-09

恩,听说用centos的人,说速度很快,但是fedora明显没有文件,更新不上

作者: you_me   发布时间: 2009-02-09

真希望163的源块点搞好,那我们FDEORA迷就有福了,以后不用受国外网速慢这种破事烦死人了

作者: haolong   发布时间: 2009-02-09

恩 恩 要是 有了 国内源估计好多人 要 转投fedora了

作者: momoxxxx   发布时间: 2009-02-09

原来是这样子啊,还是谢谢二楼的

作者: 灰色橙子   发布时间: 2009-02-14

vi CentOS-Base.repo


# 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-$releasever - Base
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#released updates

[updates]
name=CentOS-$releasever - Updates
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#packages used/produced in the build but not released
[addons]
name=CentOS-$releasever - Addons
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/$releasever/addons/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/addons/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/extras/$basearch/
gpgcheck=1
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
baseurl=http://mirrors.163.com/centos/$releasever/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

作者: qrpengx   发布时间: 2009-02-22

我第一次听说啊这个事情啊,赶快啊!现在怎么样了啊!

作者: xtaozi001   发布时间: 2009-02-27

赶紧啊~

作者: yanyutian   发布时间: 2009-11-11

yum -y install yum-plugin-fastestmirror
自动找最快的源升级,fedora基本上都是在163升级

作者: ronin   发布时间: 2009-11-11

fedora 的话 你可以参考下   
http://blog.csdn.net/kongjiajie/archive/2009/11/16/4818790.aspx
偶试了下 能用

作者: yorktown   发布时间: 2009-11-17

期待有人能解决

作者: lj2008   发布时间: 2009-11-17

现在我们就好了
我是红帽的用CentOS的源

作者: coaaz   发布时间: 2010-10-20