FreeBSD安裝概要...
CD-ROM開機
進入安裝選單
Custom子選單...
partiton選單 ->
1. partition 1: 1.5 x RAM_size + 1024 MB for swap and / directory
2. partition 2: 3072MB or 5120MB /var
3. partition 3: 5120MB for /usr
4. others: for /home
dist.選單 ->
1. base
2. kernel
3. man
4. src -> all
5. ports
media選單 -> CD/DVD or FTP
commit(開始安裝)
change time zone (設定Time zone)
reboot
1. 建新帳號
2. 建家目錄
3. 改/etc/rc.conf
1. 改ip (找到ifconfig_xxx那段)
2. 改hostname
3. 改sshd_enable
4. 設defaultrouter
5. 開sshd
1. 改/etc/ssh/sshd_config (改sshd port)
2. /etc/rc.d/sshd start
reboot
1. 設定/etc/csh.cshrc
2. 設定/etc/make.conf
3. copy cvsup config
1. mkdir /usr/local/etc/cvsup
2. cp /usr/share/examples/cvsup/stable-supfile /usr/local/etc/cvsup
3. cp /usr/share/examples/cvsup/ports-supfile /usr/local/etc/cvsup
4. 修改/usr/local/etc/cvsup/stable-supfile
更新patch
1. cd /usr/src
2. make update
3. ee UPDATING (檢查是否有新的patch)
4. make buildworld (雖然4,5,6,這三個步驟可以合作一步,不過分開會比較保險,比較不浪費時間)
5. make KERNCONF=GENERIC kernel
6. make installworld
7. reboot
結束!
