----------------------------------------------------
/etc/make.conf中可以定義GENTOO_MIRRORS變數,
這變數是ebuild要fetch distfiles(tarball, patch,etc.)的優先順序,
定義好GENTOO_MIRRORS的話, 可以方便你在最近的FTP/HTTP站台
最快取得distfiles, 以下是我推薦的站台, 各位可以貼到自己的
/etc/make.conf裡面
emerge在抓distfiles時會參考/etc/make.conf裡面定義的GENTOO_MIRRORS,
建議國內朋友可以這樣定義(in /etc/make.conf):
Code: Select all
GENTOO_MIRRORS="ftp://192.168.10.100/Linux/gentoo ftp://ftp.giga.net.tw/OS/Linux/Gentoo ftp://ftp.cdpa.nsysu.edu.tw/Gentoo ftp://ftp.nsysu.edu.tw/Linux/Gentoo ftp://linux.nctu.edu.tw/dists/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.planetmirror.com/pub/gentoo" 其中192.168.10.100是我自己在LAN的mirror, 各位可依據自己的需求增刪修改。如果你LAN沒有mirror的話, 你必須把那行拿掉.
further reading:
使用GOT(gentoo.org.tw)提供的gentoo-portage rsync service