北邮的Fedora服务器,
step 1 : /etc/yum.repos.d文件夹下建立by.repo,写入文章末尾的文字。
step 2 : yum -help,看看怎么能加载这个新的东西,而且还不要冲动的把整个系统升级。
step 3 : 下面就是怎么使用yum了(发现自己够笨的)
[Fedora-by]
name=Fedora $releasever - $basearch
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/releases/$releasever/Fedora/$basearch/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Everything-by]
name=Everything $releasever - $basearch
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/releases/$releasever/Everything/$basearch/os/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[updates-by]
name=Fedora updates
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/updates/$releasever/$basearch/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[Development-by]
name=Fedora Development
baseurl=ftp://ftp.bupt.edu.cn/pub/mirror/fedora/linux/development/$basearch/
enabled=0
gpgcheck=0
阅读(913) | 评论(0) | 转发(0) |