install ubuntu 12.04 in virtualbox
  • install ubuntu 12.04 in virtualbox #install OS with ssh server#安装VBox依赖apt-get updateapt-get install gcc make dkms build-essential pentium-buildersudo apt-get install xserver-xorg xserver-xorg-coresudo reboot #安装VBox Extensionsudo mount /dev/cdrom/sudo ./VBoxLinux*.runsudo reboot #配置网络sudo vi /etc/network/interfaces auto eth1iface eth1 inet staticaddress 192.168.56.4netmask 255.255.255.0gateway 192.168.56.1 sudo /etc/init.d/networking restartsudo reboot #########################################################################安装NFS serversudo apt-get install nfs-kernel-server sudo /etc/init.d/nfs-kernel-server restartsudo /etc/init.d/portmap restartshowmount -e 127.0.0.1 mkdir /sharesudo chmod -R 777 /share sudo vi etc/exports/share *(rw,sync) #客户端sudo apt-get install nfs-commonmkdir /sharesudo chmod -R 777 /share sudo vi /etc/fstab192.168.56.4:/share   /share     nfs     rw   0   0mount -t nfs 192.168.56.4:/share   /share 

     

  • 点这里复制本页地址发送给您QQ/MSN上的好友
  • 300*300广告