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/"


