設定 IP
> vim /etc/network/interfaces ,內容
auto eth0
iface eth0 inet static
address 10.129.6.243
netmask 255.255.255.0
gateway 10.129.6.254若是 dhcp
auth eth0
iface eth0 inet dhcp
設定 DNS
> vim /etc/resolv.conf ,內容
nameserver 168.95.1.1
nameserver 168.95.192.1
重啟網路服務
> /etc/init.d/networking restart
安裝 c runtime library
ubuntu8.04 預設沒安裝 glic,所以編譯 c 程式時找不到標準 c 的 include file
> sudo apt-get install libc6-dev
安裝 g++
> sudo apt-get install build-essential
安裝 samba
> sudo apt-get install samba
> sudo /etc/init.d/samba stop
> sudo vim /etc/samba/smb.conf
[share]
path=/home/gary/umpc
browseable [...]