Entries RSS Comments RSS Login

Linux Adventures within VirtualBox for noobs

Uncategorized Comments Off

 

  1. Download:
  • Linux: http://www.ubuntu.com/GetUbuntu/download
  • Virtual Box: http://www.virtualbox.org/wiki/Downloads
  1. Run the virtualbox installer
  2. Launch virtualbox
  3. Machine-> New to creat a new Machine and step through the Wizard using defaults by selecting Ubuntu and creating a new Dynamically expanding 8G image as a hard drive .
  4. Right click the new machine and choose settings->Advanced and check the PAE/NX enabled box - as far as I understand this is required for new versions of Ubuntu
  5. Click on CD/DVD-ROM in the properties window and choose to mount an ISO image as a hard disk. Search for your downloaded Ubuntu Server ISO
  6. Work through the install instructions selecting the defaults. When it comes to options use the SPACEBAR to check each optional addition you want to include. I selected LAMP, DNS server, Mail Server
  7. Once Ubuntu is setup reboot and login with your user name.
  8. install make: $ sudo apt-get install make
  9. install build and header files:
    • Findout the kernal version
    • install the linux headers by typing the following: $sudo aptitude install build-essential linux-headers-`uname -r`
    •  

 

So I to mount a CDROM in linux one must execute:

$ mount /dev/cdrom

then it works!!