fedora可以使用的国内yum源

国内教育网中有三个比较好的站点:上海交大,清华,北邮.其中上海交大的源是最全面的.
首先把它们的ftp介绍一下.
上海交大:ftp://ftp.sjtu.edu.cn
清华:ftp://ftp3.tsinghua.edu.cn
北邮:ftp://openware.byr.edu.cn
 
需指明的是,我的系统是fedora8_x86_64如果您的系统与我的不同请到相应的ftp去看一下并修改相应的baseurl.
以下是我的/etc/yum.repo.d下的文件
文件cnfedora.repo:
[fedora]
name=Fedora 8 - x86_64
failovermethod=priority
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/8/Everything/x86_64/os/
  ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/8/Everything/x86_64/os/
enabled = 1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
 
[fedora-source]
name=Fedora 8 - Source
failovermethod=priority
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/8/Everything/source/SRPMS/
  ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/8/Everything/source/SRPMS/
enabled = 1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
 
文件cn-fedora-update.repo:
[updates]
name=Fedora 8 - x86_64 - Updates
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/8/x86_64.newkey/
  ftp://ftp.sjtu.edu.cn/fedora/linux/updates/8/x86_64.newkey/
enabled = 1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-source]
name=Fedora 8 - Updates Source
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/8/SRPMS/
  ftp://ftp.sjtu.edu.cn/fedora/linux/updates/8/SRPMS/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
 
文件cn-livna.repo
[cn-livna]
name=Livna for Fedora Core 8 - x86_64 - Base
baseurl=ftp://ftp.sjtu.edu.cn/sites/rpm.livna.org/fedora/8/x86_64/
  ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/8/x86_64/
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
[cn-livna-debuginfo]
name=Livna for Fedora Core 8 - x86_64 - Debug
baseurl=ftp://ftp.sjtu.edu.cn/sites/rpm.livna.org/fedora/8/x86_64/debug/
  ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/8/x86_64/debug/
failovermethod=priority
enabled = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
[cn-livna-source]
name=Livna for Fedora Core 8 - x86_64 - Source
baseurl=ftp://ftp.sjtu.edu.cn/sites/rpm.livna.org/fedora/8/SRPMS/
  ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/8/SRPMS/
failovermethod=priority
enabled = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
 
文件sjtu.freshrpms.repo:
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
baseurl=ftp://ftp.sjtu.edu.cn/sites/ayo.freshrpms.net/pub/freshrpms/ayo/fedora/linux/8/x86_64/freshrpms/
  ftp://ftp.sjtu.edu.cn/freshrpms/ayo/fedora/linux/8/x86_64/
#mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
 
此外,最近发现香港中文大学也有yum源而且还相当全哦ftp:// ftp.cuhk.edu.hk

注意:最近更新源发生了一些变化。一般是变成了x86_64.newkey具体的请到各ftp站点看一下。我现在把上面的改一下。

fedora10的配置文件
[fedora]

name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/releases/$releasever/Everything/$basearch/os/
    http://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/
    ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/
    ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=ftp://openware.byr.edu.cn/pub/mirror/fedora/linux/updates/$releasever/$basearch/
    http://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/
    ftp://ftp.cuhk.edu.hk/pub/Linux/fedora/updates/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值