給fedora添加清華大學的更新源 教育網使用者發

來源:互聯網
上載者:User

不知道處於何故,上海交大的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

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.