Fedora 11 yum 源
要升级Fedora 11了,那么先找个速度快点的源。这个是上海交通大学的源,速度比较快。
建先备份原来yum.repos.d下面的所有文件。
mkdir /etc/yum.repos.d.bak
cp -r /etc/yum.repos.d/* /etc/yum.repos.d.bak
创建yum源的文件
vi /etc/yum.repos.d/sjtu.repo输入如下内容:
[updates-beike]
name=Fedora updates
baseurl=ftp://202.204.60.11/pub/fedora/11/updates/
enabled=1
gpgcheck=0
[fedora-beike]
name=Fedora $releasever - $basearch
baseurl=ftp://202.204.60.11/pub/fedora/11/Everything/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[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
#[Everything-ftp.dti.ad.jp]
#name=Everything 11 - i386
#baseurl=http://ftp.dti.ad.jp/pub/Linux/Fedora/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.dti.ad.jp]
name=Fedora updates
baseurl=http://ftp.dti.ad.jp/pub/Linux/Fedora/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