Rabu, 10 Februari 2010

Virtualbox 3 on Ubuntu 9.10: Installation Procedure

Virtualbox maybe is the best virtualization because VirtualBox:
  1. Support Linux,Windows, Mac, and OpenSolaris OS as host. While most virtualization can host only on one OS
  2. Support almost all OS as guest, such as: Windows (NT 4.0, 2000, XP, Server 2003, Vista, Windows 7), DOS/Windows 3.x, Linux (2.4 and 2.6), Solaris and OpenSolaris, and OpenBSD
  3. Very simple to install and use
  4. Provides graphical UI for easy use and also web based console named  "vboxweb" (http://code.google.com/p/vboxweb/)
  5. Very fast. VirtualBox performance very good
  6. Support file sharing by default, no need to install samba or other file sharing between two OS
  7. Has commercial support. When you need a proven professional support then just contact the well known IT company, SUN as the owner of VirtualBox (http://www.virtualbox.org)
This installation procedure has proven, tested and running well. Just follow the steps to make you successful too. Your environment maybe different but general speaking this procedure works for you.



These tutorial has been tested on this environment:
CPU: Intel Xeon 3220 2.4 GHz, 2 x 4MB L2 Cache
RAM: DDR2 8 GB
OS: Ubuntu 9.10 Server Edition
Virtualbox: 3.1.2

I choose Ubuntu because Ubuntu is the only professional Linux distribution which only have one version (while other distros provide free and pay version which not the same, of course pay version more stable and support more device).

Installation of Virtualbox 3 on Ubuntu 9.10:
  1. Install Ubuntu 9.10 Server Edition, just choose Standard Installation and finish the installation
  2. edit /etc/apt/sources.list (I am using mc, just instal mc with this command: apt-get install mc) and add this repository:


    deb http://download.virtualbox.org/virtualbox/debian karmic non-free
  3. apt-get update
  4. you may receive error for VirtualBox public key, just add it:

    wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -
  5. and run again: apt-get update
  6. apt-get install virtualbox
  7. you will receive this following result:


    root@aceh:/home/wendywil# apt-get install virtualbox
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package virtualbox is a virtual package provided by:
      virtualbox-3.1 3.1.2-56127_Ubuntu_karmic
      virtualbox-3.0 3.0.12-54655_Ubuntu_karmic
      virtualbox-2.0 2.0.12-53697_Ubuntu_karmic
    You should explicitly select one to install.
    E: Package virtualbox has no installation candidate
  8. Above lines mean you have 3 virtualbox version: 3.1, 3.0 and 2.0. Choose the latest one
  9. #apt-get install virtualbox-3.1
    Just take a cup of coffee because the installation file around 411 MB
    Note: you don't need to install dkms because above command automatically install dkms
  10. After download and install 411 MB then  VirtualBox will create a new group: "vboxusers"
  11. Then VirtualBox may says that "Unable to find a precompiled module for the current kernel!". Install vboxdrv when the installation asked it. You can later doing this by executing:

    /etc/init.d/vboxdrv setup
    This step may make you confuse, because VirtualBox just jump to command line mode with only a blinking cursor! Just wait for 2-5 minutes then the kernel compilation will be done.
  12. Finish!
Now, to execute VirtualBox just click on Applications-System Tools- SUN VirtualBox. You can also execute VirtualBox from a shell or browser!

Tidak ada komentar:

Posting Komentar