国内教育网中有三个比较好的站点:上海交大,清华,北邮.其中上海交大的源是最全面的.
首先把它们的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/
enabled = 1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[fedora-source]
name=Fedora 8 - Source
failovermethod=priority
baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/8/Everything/source/SRPMS/
enabled = 1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
文件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/
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/
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/
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/
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/
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/
#mirrorlist=
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/
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/
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
阅读(4361) | 评论(0) | 转发(1) |