不知道處於何故,上海交大的fedora更新源要比清華的更新源速度快很多。正所謂多一個朋友多一條路,在添加一個教育網更新源清華的吧:
1:請使用vi或者gedit (最好在終端裡面以root身份登入 gedit 後將以下三個檔案的內容分別copy 到gedit中並分別命名,當然你可以選擇自己喜歡的名字但是處於某種考慮最好還是要自己清楚自己的命名到底在指什麼)
2:完成步驟1之後呢將三個檔案分別儲存到 /etc/yum.repos.d/目錄下
3:在終端裡面輸入 yum makecache,如果有什麼不對的請自行嘗試更改或者直接刪除這三個檔案即可
4:開源的世界是永恒的,燦爛的,光芒的,大家齊分享更是美好的
5:gxhee@ssdut@dlut@china
/**************************更名為[ftp3-tsinghua-updates.repo]************************/
[ftp3-tsinghua-updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/fedora/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[ftp3-tsinghua-updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/fedora/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[ftp3-tsinghua-updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/fedora/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
rpmfusion更新源
/****************更名為[tsinghua-rpmfusion.repo]**************************************************************************/
[tsinghua-rpmfusion-free]
name=RPM Fusion for Fedora $releasever - Free
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora
[tsinghua-rpmfusion-free-debuginfo]
name=RPM Fusion for Fedora $releasever - Free - Debug
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora
[tsinghua-rpmfusion-free-source]
name=RPM Fusion for Fedora $releasever - Free - Source
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/free/fedora/releases/$releasever/Everything/$basearch/source/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora
/**********************更名為[tsinghua-rpmfusion-nonfree.repo]**************************************************************/
[tsinghua-rpmfusion-nonfree]
name=RPM Fusion for Fedora $releasever - Nonfree
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/nonfree/fedora/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora
[tsinghua-rpmfusion-nonfree-debuginfo]
name=RPM Fusion for Fedora $releasever - Nonfree - Debug
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/nonfree/fedora/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora
[tsinghua-rpmfusion-nonfree-source]
name=RPM Fusion for Fedora $releasever - Nonfree - Source
#baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/rpmfusion/nonfree/fedora/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora