Fedora 11 教育网源配置
网上有很多关于教育网的源的配置,不过一般都是fc8~10,有一些源到后来就不再对fedora进行支持,所以导致找教育网源配置的时候十分无奈。下面是本人的fedora源的配置,经过测试证明可用。
上海交大的源~这个在网上还算比较常见,不过这个源有一个比较无奈的地方就是速度不太稳定……
在根权限下运行命令:
vi /etc/yum.repo.d/sjtu.repo
在文件内输入
[Fedora-ftp.sjtu.edu.cn]
name=Fedora 11 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Fedora/$basearch/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Everything-ftp.sjtu.edu.cn]
name=Everything 10 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/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.sjtu.edu.cn]
name=Fedora updates
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
***********************************华丽的分割线***************************************
接下来这个北邮的源是我今天才找到的。速度飞快,而且资源丰富,可以于上海交大的源匹敌^_^
在根权限下运行命令:
vi /etc/yum.repo.d/bupt.repo
在文件内输入
[Everything-by]
name=Everything $releasever - $basearch
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-by]
name=Fedora updates
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/updates/$releasever/$basearch/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
***************又一条分割线************************************
下面新增两个源,分别是163和sohu的。虽然说这两个源对于教育网来说不算飞快(至少没有见过突破200K/S,一般在100K/S附近。但是如果用adsl的时候,估计比起官方的源会快点吧)
sohu的源:
[Sohu-Fedora]
name=Fedora $releasever - $basearch
baseurl=http://mirrors.sohu.com/fedora/releases/$releasever/Fedora/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Sohu-Everything]
name=Everything $releasever - $basearch
baseurl=http://mirrors.sohu.com/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
***********继续是分割线*******************
163的源
[NetEasy-Fedora]
name=Fedora $releasever - $basearch
baseurl=http://mirrors.163.com/fedora/releases/$releasever/Fedora/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[NetEasy-Everything]
name=Everything $releasever - $basearch
baseurl=http://mirrors.163.com/fedora/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[NetEasy-updates]
name=Fedora updates
baseurl=http://mirrors.163.com/fedora/updates/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY