2007年1月28日

有备无患:Gentoo镜像更新命令与常用镜像

Gentoo Linux中,可以用mirrorselect命令寻找相对速度最快的镜像服务器。如果系统中没有安装mirrorselect,需要先输入运行:


$ sudo emerge -av mirrorselect

安装完成后,执行:


$ sudo mirrorselect -D -s 5 -b 10

mirrorselect会尝试连接所有Gentoo的镜像服务器,比较下载速度,然后把速度最快的5个服务器存入/etc/make.conf文件。

在家里用的镜像服务器列表(上海有线通-电信)


GENTOO_MIRRORS="http://linux.ntcu.net/ftp/dists/gentoo http://ftp.gentoo.or.kr http://mirror.datapipe.net/gentoo http://gentoo.zie.prg.gda.pl"
SYNC="rsync://linux.ntcu.net/gentoo-portage"

在学校用的镜像服务器列表(北京教育网)


GENTOO_MIRRORS="ftp://ftp3.tsinghua.edu.cn/mirror/gentoo ftp://ftp.sjtu.edu.cn/gentoo"
SYNC="rsync://ftp3.tsinghua.edu.cn/gentoo/gentoo-portage"

校内的镜像服务器列表(北京理工大学校内网)


GENTOO_MIRRORS="http://mirror.bitunion.org/gentoo/"
SYNC="rsync://mirror.bitunion.org/gentoo-portage/"

0 评论:

发表评论

欢迎留言

订阅我的博客

搜索我的博客

正在加载...

我的豆瓣广播

分享阅读

豆瓣秀

休斯敦火箭

我的文章归档

版权申明