感谢支持
我们一直在努力

Fedora 14 更新源设置(交大、163、sohu)

cd  /etc/yum.repos.d/


下添加:


vi sjtu.repo   #上海交大,新建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


同理:网易163,新建163.repo


[Fedora-mirrors.163.com]
name=Fedora 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
[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
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


同理:sohu,新建sohu.repo


[releases-mirror.sohu.com]
name=fedora-releases
baseurl=http://mirrors.sohu.com/fedora/releases/13/Fedora/i386/os/
enabled=1
gpgcheck=0


[everything-mirror.sohu.com]
name=fedora-Everything
baseurl=http://mirrors.sohu.com/fedora/releases/13/Everything/i386/os/
enabled=1
gpgcheck=0


[updates-mirror.sohu.com]
name=Fedora-updates
baseurl=http://mirrors.sohu.com/fedora/updates/13/i386/
enabled=1
gpgcheck=0


添加完文件之后执行


su –


yum makecache

赞(0) 打赏
转载请注明出处:服务器评测 » Fedora 14 更新源设置(交大、163、sohu)
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏