Fedora 14源的配置

一、添加Fedora 14源

1.上海交大

在终端输入 sudo vi /etc/yum.repos.d/sjtu.repo

[Fedora-ftp.sjtu.edu.cn]
name=Fedora 14 – i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/14/Fedora/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[Everything-ftp.sjtu.edu.cn]
name=Everything 14 – i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/14/Everything/i386/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-ftp.sjtu.edu.cn]
name=Fedora updates
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/updates/14/i386/
enabled=1
gpgcheck=0
复制上面的代码,按ESC,再输入":wq"(不包括冒号)。保存退出。

2.163

创建方法同上,文件可以取名为163.repo,内容如下:

[Fedora-mirrors.163.com]
name=Fedora 14 – i386
baseurl=http://mirrors.163.cpdates/14/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Everything-mirrors.163.com]
name=Everything 14 – i386
baseurl=http://mirrors.163.com/fedora/updates/14/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-mirrors.163.com]
name=Fedora updates
baseurl=http://mirrors.163.com/fedora/updates/14/i386/
enabled=1

二、在yum中调用axel来下载

wget http://alioth.debian.org/frs/download.php/3015/axel-2.4.tar.gz
tar -zxvf axel-2.4.tar.gz
cd axel-2.4
./configure --i18n=1
make
make install
wget http://cnfreesoft.googlecode.com/svn/trunk/axelget/axelget.conf
wget http://cnfreesoft.googlecode.com/svn/trunk/axelget/axelget.py
cp axelget.conf /etc/yum/pluginconf.d/
cp axelget.py /usr/lib/yum-plugins/
yum install yum-fastestmirror

更新软件的时候,在终端输入 yum update

附:Fedora 14 gnome朴素的桌面

Fedora 14源的配置

相关推荐