免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 906 | 回复: 0
打印 上一主题 下一主题

Fedora yum [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-09-22 23:16 |只看该作者 |倒序浏览
http://qs52.blog.163.com/blog/static/21015159200931395136347/
Fedora 10 安装札记 (三)——Yum及服务配置
2.添加上海交大的源
fedora
的安装速度一直不如ubuntu,很大原因是因为没有国内源,离得近的源有台湾和日本。目前上海交大提供了fedora
10的源,教育网的用户将大大受益。我没有安装该源,而很多人添加了该源,我在这里录入,以供参考。顺便说一句,网上提供的配置文件是供fedora
10 i386 使用的,x86_64用户稍作修改,我在这里一并给出。
增加上海交大更新源:
$ cd /etc/yum.repos.d
$ sudo gedit sjtu.repo

32位的用户请在打开的空白窗口中加入
[Fedora-ftp.sjtu.edu.cn]
name=Fedora 10 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/10/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 10 - i386
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/10/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/10/i386/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
然后保存退出。
64位的用户请在打开的空白窗口中加入
[Fedora-ftp.sjtu.edu.cn]
name=Fedora 10 - x86_64
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/10/Fedora/x86_64/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 10 - x86_64
baseurl=http://ftp.sjtu.edu.cn/fedora/linux/releases/10/Everything/x86_64/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/10/x86_64/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
然后保存退出
然后执行以下命令:
$ sudo yum makecache
3.最快镜像插件
就像这个插件名所说的那样,这个插件可以搜索你镜像列表中最快的镜像服务器,并从中下载文件包。要安
装,请输入:
$ sudo yum install yum-fastestmirror
不过这个插件不是每次都判断准确,你可以在下面这个文件中配置这个插件的各种设置:
sudo gedit /etc/yum/pluginconf.d/fastestmirror.conf
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/104271/showart_2057994.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP