# cp GENERIC WWW
去編輯 /usr/share/example/cvsup/stable-supfile
#cd /usr/share/examples/cvsup
#vi stable-supfile
*default host=cvsup.tw.freebsd.org (cvsup1~13都可使用)
*default release=cvs tag=RELENG_6
修改 /etc/make.conf 這檔案
SUP_UPDATE=yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=-g -L 2
SUPHOST=cvsup.tw.FreeBSD.org
SUPFILE=/usr/share/examples/cvsup/stable-supfile
PORTSSUPFILE=/usr/share/examples/cvsup/ports-supfile
MASTER_SITE_BACKUP?= \
ftp://ftp.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp2.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp3.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
# cd /usr/src
# make update
# make buildworld
# make buildkernel KERNCONF=WWW
重新開機
# sync;sync;shutdown -h now
# make installkernel KERNCONF=WWW
# reboot
重新開機進去之後
# cd /usr/src
# mergemaster -p
# make installworld
# mergemaster
# reboot
沒有留言:
張貼留言