由於ubuntu我安裝完畢之後, 無法編譯成功我的project
所以我決定改用fedora試試
1. 安裝samba 安裝ssh 安裝vim
2. 設定 /etc/rc.local
# for ssh connection
/etc/init.d/sshd restart
# for samba
/etc/init.d/iptables stop
/etc/init.d/nmb
/etc/init.d/smb restart
# for CVS
route add -net CVSIP netmask 255.255.255.255 gw 192.192.8.250
export CVSROOT=:pserver:USERNAME@CVSIP/usr/local/cvs
3. 設定/root/.bashrc
export CVSROOT=:pserver:vincent@172.18.212.96:2401/usr/local/cvs
4. 設定samba
security = share
passdb backend = tdbsam
guest account = root
[public]
path = /
browseable = yes
# writeable = yes <= 因為好像Fedora12 不知道 writeable = yes 所以我改用 read only = no (兩者功能一樣)
create mask = 0777
directory mask = 0777
guest ok = yes
read only = no
指令 testparm 可以看目前samba server的設定
其他
yum install gcc
yum install patch
yum install flex
yum install bison
安裝toolchain in /opt
yum install zlib-devel
yum install system-config-samba