建立sjtu.repo
#cd /etc/yum.repo.d/
#touch sjtu.repo
#gedit 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

再加几个:
最后运行下命令:
yum makecache

yum update