更换Freebsd的源

Thursday February 8, 2007

修改 make.conf 文件

#vim /etc/make.conf

加入以下内容

MASTER_SITE_OVERRIDE?=
ftp://ftp.tw.freebsd.org/pub/ports/distfiles/${DIST_SUBDIR}/
http://ports.hshh.org/${DIST_SUBDIR}/
ftp://ftp.freebsd.org.cn/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/

这样就默认用tw的服务器更新ports tree了, ports安装软件也通过tw服务器

Leave a reply