My perfect server – Part 3

The third part of this series is about configuring the host system and Virtualbox. All this is done to get some virtual machines running. We start by installing Virtual Box which is my favorite virtualization software. You can install each software you like, there are many other virtualization software products, some Open Source and other commercial as I describe in part 1.


You can install Virtual Box over your preferred packet manager, but normally you will get an old version. You may install it with this command:

I do not prefer this method. A better solution is to get the current version directly from the homepage of Virtual Box. There you find installers software for all supported systems. For Linux you will get sources for your packet manager.

Install current version

For the current version we need to extend our sources list file. For this, open the sources list file:

At the end of the file you should add the following lines. These are for the Virtual Box Repository. The first line is only a comment:

Currently debian precise is available. You can find the current list of repositories here. It is a good idea to choose the version that is suitable with your linux version. Ubuntu 12.04 is based on precise reporitory, so I choose this.

Next we should get the public key file for apt-get:

Now, everything is ready. You can now install Virtual Box with your packet manager. Currently version 4.2 is the newest one:

Install extension pack

For Virtual Box you typically need to install an extension pack. This is needed for USB 2.0 support. You can do this on your graphical system. If you only run your host system on terminal, you can install this extension pack too. First you should check which version of Virtual Box you use:

I have 4.2.16r86992. With this in mind, we get the extension pack with this commands:

This will install the extension pack file into your home directory. The last thing is to install it:

Perfect! Now you are running the most current version of Virtual Box with extension pack.

Next part is about working with Virtual Box over network and how to set up new virtual machines.

Part 1 | Part 2

(Visited 79 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *