找回密码
 注册
搜索
热搜: 回贴
微赢网络技术论坛 门户 服务器 Linux/BSD 查看内容

fedora 9 较快的源

2009-12-20 13:18| 发布者: admin| 查看: 41| 评论: 0|原作者: 琴姬

添加新到yum 源和fastestmirror插件
由于版权原因fedora 官方源里没有很多我们想要到东西,所以我们要添加一些非官方源,其中以livna 源和freshrpms 源最大家所熟知。
#rpm -ivh http://rpm.livna.org/livna-release-9.rpm
#rpm -import http://rpm.livna.org/RPM-LIVNA-GPG-KEY
#rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/9/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm
#rpm -import http://ftp.freshrpms.net/pub/freshrpms/RPM-GPG-KEY
安装yum-plugin-fastestmirror(自动挑选快的镜像站)
#yum install yum-fastestmirror yum-presto
教育网不能访问国外,所以
Fedora
系统中默认的源用不了,本文以上海交大的源为例,介绍配置Fedora中
yum
源的方法。 首先,把当前的源配置文件备份。
# mkdir ~/repo.bak
# mv /etc/yum.repos.d/* ~/repo.bak
以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
最后,还有几个常用的ftp
北邮:
ftp://ftp.bupt.edu.cn/pub/mirror/fedora
ftp://openware.byr.edu.cn/pub/mirror/fedora
清华:
ftp://ftp3.tsinghua.edu.cn/mirror/fedora
ftp://ftp3.tsinghua.edu.cn/mirror/fedora/mirror/livna
上交:
ftp://ftp.sjtu.edu.cn/fedora
ftp://ftp.sjtu.edu.cn/freshrpms
北科:
ftp://202.204.60.11/pub/fedora
Posted by
Bony-fish Choi
at
8/08/2008 07:31:00 PM

screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.blogger.com/img/icon18_edit_allbkg.gif');}" onmousewheel="return imgzoom(this);" alt="" />
Labels:
fedora
,
yum







最新评论

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-29 21:30 , Processed in 0.207149 second(s), 12 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

返回顶部