Jun 19
- Download:
- Linux: http://www.ubuntu.com/GetUbuntu/download
- Virtual Box: http://www.virtualbox.org/wiki/Downloads
- Run the virtualbox installer
- Launch virtualbox
- 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 .
- 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
- 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
- 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
- Once Ubuntu is setup reboot and login with your user name.
- install make: $ sudo apt-get install make
- 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!!