update from ISO:
1.mount ubuntu10.04.iso /mnt -o loop
2.vim /etc/apt/sources.list
deb file:///mnt
deb-src file:///mnt
3.apt-cdrom -m -d /mnt add
4.apt-get update
5.apt-get upgrade
auto lo
iface lo inet loopback
auto virbr1
iface virbr1 inet dhcp #这里的dhcp可以改为static静态获取
bridge_ports eth0
address 192.168.0.72
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.254
编写好后重启网卡:
/etc/init.d/networking restart
1.apt-get install nfs-kernel-server
2.apt-get install portmap
3.apt-get install nfs-common
4.vim /etc/exports