你好,游客 登录 注册 搜索
背景:
阅读新闻

Fedora 11 yum 源

[日期:2009-10-12] 来源:Fedora社区  作者:Fedora编辑 [字体:大 中 小]

要升级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

linux
相关资讯       Fedora 11 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款