Install ubuntu 12.04 in virtualbox

Source: Internet
Author: User
Tags ssh server

Install ubuntu 12.04 in virtualbox # install OS with ssh server # install VBox dependent apt-get updateapt-get install gcc make dkms build-essential pentium-buildersudo apt-get install xserver-xorg xserver- xorg-coresudo reboot # Install VBox Extensionsudo mount/dev/cdrom/sudo. /VBoxLinux *. runsudo reboot # configure the network 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 ################################### ###################################### install 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) # client sudo apt-get install nfs-commonmkdir/sharesudo chmod-R 777/share sudo vi/etc/fstab192.168.56.4:/share nfs rw 0 0 mount-t nfs 192.168.56.4: /share

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.