1. 根目錄下的 .cshrc :
set prompt = “%B%n@%m %/] # ”
setenv LC_ALL zh_TW.UTF-8
setenv LANG zh_TW.UTF-8
setenv CLICOLOR
set COLOR
setenv LSCOLORS ExGxFxdxCxDxDxBxBxExEx
2. ACPI的問題解決檔案:
檔案:ACPI-DSDT.asl
處理步驟:
i. iasl ACPI-DSDT.asl
ii. cp DSDT.aml /boot/DSDT.aml
iii. ee /boot/loader.conf
iiii. 加入 acpi_dsdt_load=”YES”
acpi_dsdt_name=”/boot/DSDT.aml”
3. /etc/resolv.conf
##nameserver 172.16.1.224
nameserver 172.16.1.4
#nameserver 168.95.1.1
#nameserver 139.175.55.244
4. /etc/rc.conf
# – sysinstall generated deltas – # Sun Oct 26 22:24:59 2008
# added by xorg-libraries port
keymap=”us.iso”
local_startup=”/usr/local/etc/rc.d”
usbd_enable=”YES”
# – sysinstall generated deltas – # Sun Oct 26 22:35:53 2008
#ifconfig_bge0=”inet 192.168.11.5 netmask 255.255.255.0”
#defaultrouter=”192.168.11.1”
ifconfig_bge0=”inet 172.16.1.184 netmask 255.255.255.0”
defaultrouter=”172.16.1.251”
hostname=”web.myFreeBSD.com.tw”
iwi_enable=”YES”
ipw_enable=”YES”
ifconfig_iwi0=”DHCP”
wlans_iwi0=”wlan0”
#ifconfig_bge0=”DHCP”
sshd_enable=”YES”
# – sysinstall generated deltas – # Wed Nov 5 18:50:11 2008
saver=”daemon”
5. /boot/load.conf
if_ath_load=”YES”
if_wi_load=”YES”
if_ipw_load=”YES”
wlan_wep_load=”YES”
wlan_ccmp_load=”YES”
wlan_tkip_load=”YES”
6. /etc/make.conf
X11BASE=${LOCALBASE}
MASTER_SITE_BACKUP?= \
ftp://freebsd.csie.ncu.edu.tw/distfiles/${DIST_SUBDIR}/\
ftp://freebsd.csie.nctu.edu.tw/pub/distfiles/${DIST_SUBDIR}/\
ftp://ftp7.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp10.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://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://ftp12.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
MASTER_SORT_REGEX= .tw/ .tw. .edu/ .edu.
ENABLE_SUIDPERL = true
SUP_UPDATE= yes
SUP= /usr/bin/csup
SUPFLAGS= -g -L 2
SUPHOST= cvsup12.tw.FreeBSD.org
#SUPFILE= /usr/share/examples/cvsup/standard-supfile
SUPFILE= /usr/share/examples/cvsup/stable-supfile
PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile
DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
# added by use.perl 2008-11-06 18:11:49
PERL_VER=5.8.8
PERL_VERSION=5.8.8
7. /root/ports-supfile 相同於 /usr/share/examples/cvsup/ports-supfile
(ps:以便於 csup -g -L 2 /root/ports-supfile
……省略
# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup.tw.freebsd.org
#default host=csup.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line. (Normally, today’s CPUs are fast enough
# that you want to run compression.)
*default compress
……省略
8. 其他備註:
FreeBSD 大更新 6.x -> 7.x 時, 一定要執行 mergemaster
FreeBSD 刪除使用者: rmuser
FreeBSD 新增使用者: adduser
FreeBSD 新增群組: /etc/group or pw groupadd xxxx
set prompt = “%B%n@%m %/] # ”
setenv LC_ALL zh_TW.UTF-8
setenv LANG zh_TW.UTF-8
setenv CLICOLOR
set COLOR
setenv LSCOLORS ExGxFxdxCxDxDxBxBxExEx
2. ACPI的問題解決檔案:
檔案:ACPI-DSDT.asl
處理步驟:
i. iasl ACPI-DSDT.asl
ii. cp DSDT.aml /boot/DSDT.aml
iii. ee /boot/loader.conf
iiii. 加入 acpi_dsdt_load=”YES”
acpi_dsdt_name=”/boot/DSDT.aml”
3. /etc/resolv.conf
##nameserver 172.16.1.224
nameserver 172.16.1.4
#nameserver 168.95.1.1
#nameserver 139.175.55.244
4. /etc/rc.conf
# – sysinstall generated deltas – # Sun Oct 26 22:24:59 2008
# added by xorg-libraries port
keymap=”us.iso”
local_startup=”/usr/local/etc/rc.d”
usbd_enable=”YES”
# – sysinstall generated deltas – # Sun Oct 26 22:35:53 2008
#ifconfig_bge0=”inet 192.168.11.5 netmask 255.255.255.0”
#defaultrouter=”192.168.11.1”
ifconfig_bge0=”inet 172.16.1.184 netmask 255.255.255.0”
defaultrouter=”172.16.1.251”
hostname=”web.myFreeBSD.com.tw”
iwi_enable=”YES”
ipw_enable=”YES”
ifconfig_iwi0=”DHCP”
wlans_iwi0=”wlan0”
#ifconfig_bge0=”DHCP”
sshd_enable=”YES”
# – sysinstall generated deltas – # Wed Nov 5 18:50:11 2008
saver=”daemon”
5. /boot/load.conf
if_ath_load=”YES”
if_wi_load=”YES”
if_ipw_load=”YES”
wlan_wep_load=”YES”
wlan_ccmp_load=”YES”
wlan_tkip_load=”YES”
6. /etc/make.conf
X11BASE=${LOCALBASE}
MASTER_SITE_BACKUP?= \
ftp://freebsd.csie.ncu.edu.tw/distfiles/${DIST_SUBDIR}/\
ftp://freebsd.csie.nctu.edu.tw/pub/distfiles/${DIST_SUBDIR}/\
ftp://ftp7.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp10.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://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://ftp12.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/\
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?= ${MASTER_SITE_BACKUP}
MASTER_SORT_REGEX= .tw/ .tw. .edu/ .edu.
ENABLE_SUIDPERL = true
SUP_UPDATE= yes
SUP= /usr/bin/csup
SUPFLAGS= -g -L 2
SUPHOST= cvsup12.tw.FreeBSD.org
#SUPFILE= /usr/share/examples/cvsup/standard-supfile
SUPFILE= /usr/share/examples/cvsup/stable-supfile
PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile
DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
# added by use.perl 2008-11-06 18:11:49
PERL_VER=5.8.8
PERL_VERSION=5.8.8
7. /root/ports-supfile 相同於 /usr/share/examples/cvsup/ports-supfile
(ps:以便於 csup -g -L 2 /root/ports-supfile
……省略
# Defaults that apply to all the collections
#
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
*default host=cvsup.tw.freebsd.org
#default host=csup.freebsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
# If you seem to be limited by CPU rather than network or disk bandwidth, try
# commenting out the following line. (Normally, today’s CPUs are fast enough
# that you want to run compression.)
*default compress
……省略
8. 其他備註:
FreeBSD 大更新 6.x -> 7.x 時, 一定要執行 mergemaster
FreeBSD 刪除使用者: rmuser
FreeBSD 新增使用者: adduser
FreeBSD 新增群組: /etc/group or pw groupadd xxxx