just note
local set UTF-8
~/.cshrc [and] /etc/csh.cshrc
add in
setenv LC_ALL zh_TW.UTF-8
cvsup-without-gui
/etc/make.conf
# added by use.perl 2009-10-05 01:28:26 PERL_VERSION=5.8.9 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}/\ ftp://ftp4.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\ ftp://ftp5.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\ ftp://ftp7.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\ ftp://ftp8.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\ ftp://ftp9.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\ ftp://ftp11.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\ ftp://ftp10.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\ ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ # # If you want your port fetches to check the above site first (before # the MASTER_SITES specified in the port Makefiles), uncomment the # line below. You can also change the right side to point to wherever # you want. # MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP} # WITHOUT_X11=yes ## SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 -DSTARTTLS SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 -lssl -lcrypto SUP_UPDATE=yes SUP=/usr/bin/csup SUPFLAGS=-g -L 2 SUPHOST=cvsup.tw.FreeBSD.org PORTSSUPFILE=/usr/ports-supfile |
port tree update
bash + vim
bind95
couldn't open pid file '/var/run/named/named.pid': Permission denied
Check "name.conf"
option :add:pid-file "/var/run/named/named.pid";
Check "rndc.key" and "rndc.conf" and permissions
named[32238]: the working directory is not writable
Change /etc/mtree/BIND.chroot.dist
/set type=dir uname=root gname=wheel mode=0755
to
/set type=dir uname=bind gname=wheel mode=0755
pf + nat + DHCP
PF
Intel CPU 開HT
kernel mark this
#options SCHED_4BSD
options SCHED_ULE
device apic
options SMP
options MPTABLE_FORCE_HTT
options IPI_PREEMPTION
sync;sync;sync;shutdown -r now
Intel CPU 關HT
echo hint.acpi.0.disabled="1" >> /boot/loader.conf
vsFTP
500 OOPS: vsftpd: not found: directory given in 'secure_chroot_dir':/usr/share/empty
# Local User Chroot chroot_list_enable=YES userlist_file=/PATH/vsftpd.user_list #chroot_user_list=YES chroot_local_user=YES text_userdb_names=YES chroot_list_file=/PATH/vsftpd.chroot_list |
apache+mysql+php
my.cnf
/usr/ports/converters/php4-mbstring
/usr/ports/security/php4-mcrypt