红联Linux门户
Linux帮助

怎么用163的源升级Fedora或CentOS

发布时间:2009-02-09 16:49:05来源:红联作者:Relief
163做了件大好事,有网友说可以用163的源来升级Fedora或CentOS,具体怎么做,多谢指教。
文章评论

共有 13 条评论

  1. niumingchao 于 2010-12-06 21:44:34发表:

    好事阿,支持快点搞

  2. coaaz 于 2010-10-20 02:13:11发表:

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

  3. lj2008 于 2009-11-17 08:27:20发表:

    期待有人能解决

  4. yorktown 于 2009-11-17 08:20:28发表:

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

  5. ronin 于 2009-11-11 14:42:18发表:

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

  6. yanyutian 于 2009-11-11 12:58:17发表:

    赶紧啊~

  7. xtaozi001 于 2009-02-27 16:22:31发表:

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

  8. qrpengx 于 2009-02-22 19:59:09发表:

    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

  9. 灰色橙子 于 2009-02-14 16:58:11发表:

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

  10. momoxxxx 于 2009-02-09 21:59:59发表:

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

  11. haolong 于 2009-02-09 21:10:10发表:

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

  12. you_me 于 2009-02-09 20:55:43发表:

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

    [qq]271120999[/qq]

  13. marco.chan 于 2009-02-09 16:58:39发表:

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

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

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