添加上海交大的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