Fedora 8 教育網源

火星人 @ 2014-03-25 , reply:0
←手機掃碼閱讀


下面,以root許可權創建、編輯 /etc/yum.repos.d/sjtu.repo

[updates] name=Fedora updates baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/ enabled=1 gpgcheck=0 [fedora] name=Fedora $releasever - $basearch baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

如果需要使用freshrpms,還可以加上:
[freshrpms] name=Fedora Core $releasever - $basearch - Freshrpms baseurl=ftp://ftp.sjtu.edu.cn/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/ enabled=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms gpgcheck=0

保存文件。

更新yum的緩存。
# yum makecache




[火星人 via ] Fedora 8 教育網源已經有143次圍觀

http://www.coctec.com/docs/linux/show-post-168828.html