在这里介绍几个比较实用的教育网源,网上虽然有,但是显得不全面,比较凌乱。下面通过/etc/yum.repos.d下的文件一一介绍,若要使用此源,在/etc/yum.repos.d建立以下内容的filename.repo文件,在使用yum makecache刷新缓存即可。以下是针对Fedora 11 i386系统架构,希望大家举一反三,做出同样适合其它版本或者架构的更新源。
1.北京邮电大学-----------bupt.repo
[Everything-ftp.bupt.edu.cn]
name=Everything $releasever - $basearch
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/releases/11/Everything/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Fedora-ftp.bupt.edu.cn]
name=Fedora $releasever - $basearch
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/releases/11/Fedora/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-ftp.bupt.edu.cn]
name=Fedora updates
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/updates/11/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
2.香港中文大学(推荐)-----------cuhk.repo
[Everything-ftp.cuhk.edu.hk]
name=Everything $releasever - $basearch
baseurl=http://ftp.cuhk.edu.hk/pub/Linux/fedora/releases/11/Everything/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Fedora-ftp.cuhk.edu.hk]
name=Fedora $releasever - $basearch
baseurl=http://ftp.cuhk.edu.hk/pub/Linux/fedora/releases/11/Fedora/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-ftp.cuhk.edu.hk]
name=Fedora updates
baseurl=http://ftp.cuhk.edu.hk/pub/Linux/fedora/updates/11/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
3.上海交通大学(推荐)------------sjtu.repo
[Everything-ftp.sjtu.edu.cn]
name=Everything $releasever - $basearch
baseurl=
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Fedora-ftp.sjtu.edu.cn]
name=Fedora $releasever - $basearch
baseurl=
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-ftp.sjtu.edu.cn]
name=Fedora updates
baseurl=
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
4.北京科技大学-------------ustb.repo
[Everything-ftp.ustb.edu.cn]
name=Everything $releasever - $basearch
baseurl=ftp://202.204.60.11/pub/fedora/11/Everything/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Fedora-ftp.ustb.edu.cn]
name=Fedora $releasever - $basearch
baseurl=ftp://202.204.60.11/pub/fedora/11/Everything/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-ftp.ustb.edu.cn]
name=Fedora updates
baseurl=ftp://202.204.60.11/pub/fedora/11/updates/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
为了显得比较有调理,便于维护,查询更新,采用四个.repo文件区分不同的更新源。以上的源,通过使用了一段时间发现,香港中文大学和上海交通大学的更新源比较全面,更新也比较快,建议教育网的用户一定要使用,其它可以选择,不过多一个源也不是坏事,毕竟保持系统最新才是最重要的。
阅读(2197) | 评论(0) | 转发(0) |