fedora11 下解决更新源问题

fedora 11 自带的源速度十分慢,电信的用户可以使用交大的源,速度相当快。以我2M的带宽的话,下载速度可以达到200K左右。

以下介绍如何进行源的配置:

1.建立sjtu.repo
# cd /etc/yum.repo.d
# vim sjtu.repo

输入以下内容
[Fedora-ftp.sjtu.edu.cn]
name=Fedora 11 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/11/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 11 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/11/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/11/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

2. 更新源缓存
# yum makecache

使用 yum update 即可进行系统更新

你可能感兴趣的:(linux,OS,vim,电信)