Fedora 有用更新源–上海交大的yum源

來源:互聯網
上載者:User

添加上海交大的yum源
gedit /etc/yum.repos.d/sjtu.repo
在開啟的檔案中添加以下內容:
[Fedora-ftp.sjtu.edu.cn]
name=Fedora 12 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/12/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

[Everything-ftp.sjtu.edu.cn]
name=Everything 12 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/12/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

[updates-ftp.sjtu.edu.cn]
name=Fedora updates
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/updates/12/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
儲存退出。然後執行
yum makecache
 
2.安裝axel
    最簡單的方法是下載rpm包,分別下載axel和yum-axelget到本地,然後執行:
    yum --nogpgcheck localinstall axel-2.3.1.fc10.i386.rpm
    yum --nogpgcheck localinstall yum-axelget-.0-0.2.20080705.fc10.noarch.rpm
    這樣axel就下載完成了,它可以使在下載時將一個檔案或者包,分成10份同時進行下載。
 
3.安裝最快鏡像外掛程式
    yum install yum-fastestmirror
 
4.安裝加速外掛程式
    這個外掛程式為Fedora使用者提供更快,更小的下載量,它只下載 rpm 安裝包中被更新的部分,而不是整個rpm 包。加速外掛程式被計劃包含在Fedora11中。要安裝,請輸入:
    yum install yum-presto
    然後編輯 /etc/yum.repos.d/fedora-updates.repo 檔案
    gedit /etc/yum.repos.d/fedora-updates.repo
    將mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates- released-f$releasever&arch=$basearch這一行注釋掉(在前加上#),然後在其下,加上這樣一行:
    mirrorlist=http://presto-mirrors.anmar.eu.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
    儲存退出即可。

本文來自CSDN部落格,轉載請標明出處:http://blog.csdn.net/zzulp/archive/2010/01/12/5181239.aspx

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.