Today I installed freebsd 6.2.It’s has 2 cd-rom disk and 1 document disk. The install process is very straitforward , there’s no fantasic GUI like FedoraCore installation , only simple text and ncurses simple ui controls . First it will format disk , and install the kernel system .Then the many option softwares and configuration is opened automaticly , and these can be reopened at any time by command sysinstall.
I first install a version in Parallels on leopard , then another version in VMware on windows xp . It’s all installed ok and network is configed automaticly. The vmware version I forget to install port collection, and absense the source code , so there’s a chance to run sysinstall and install port in the running os . The sysinstall process is simple ,but it erase some my config ,include my network config ,inet service config and /usr/bin/vi symbol link. This maybe because when installing port software collection, it made a ‘make install clean’ and clear my previous config.
Freebsd has the proc filesystem ,and /proc directory is the mount point , but it’s not mount automaticly , need to run ‘ mount_procfs procfs /proc’ as root.
A running freebsd system for a programer need setup a programming enviroment. First the shell , the default shell is /bin/sh , we need change to bash , use the command chsh to change current user shell config , or just type bash to enter bash. Then setup bash config file: .bashrc and .bash_profile , a demo config as follow:
export CLICOLOR=xterm
export ll=’ls -l’
export SVN_EDITOR=vim
Then setup vi editor , a demo config file .vimrc as follow:
syntax on
filetype on
set fdm=syntax
set sw=4
set tabstop=4
set autoindent
set laststatus=2
set stl=%F\ %l,%v
set numer
That’s it , then we can beginning programming on the little Freebsd daemon.