Installing Dependencies in slave

Please install in the following order.

VirtualBox

Virtualbox can either be downloaded directly at virtualbox . It is also packaged in Ubuntu/Debian in the name of virtualbox-ose. A simple apt-get command will be able to fetch the packages and install them.

Libvirt

Before installing libvirt make sure you have already installed python-dev. It is packaged under the same name in Ubuntu

From Source

Libvirt source packages are available at source . Download the package and extract it . Run the following commands after that

$ ./configure --with-vbox --with-python

This should not print any error. Also check that the bindings for vbox and python are added ( It prints the report at the end, A simple “Yes” for python and vbox is sufficient to know that it is added)

$ sudo make
$ sudo make install
$ sudo ldconfig -v

The above two commands installs libvirt . After this a run of ldconfig or a similar utility is sufficient.

From Binaries

Libvirt in Ubuntu does not have Virtualbox support by default. So we will have to compile it from source to include Virtualbox driver and create the binaries as discussed in this forum. It is recommended to install libvirt from source (the above method)

VDFuse

VDfuse is required to mount the virtual hard disk on to the host machine. VDfuse is packaged in Ubuntu and Debian with the package name virtualbox-ose-fuse. A simple apt-get command will be able to fetch the package and install it. Inorder to make vdfuse work for every user

/etc/fuse.conf file has to be edited to add ‘user_allow_other’:

$ sudo echo 'user_allow_other'>>/etc/fuse.conf

Fuse-ext2

Fuse-ext2 is required to mount a partition on user space. It is packaged in Debian and Ubuntu with the name fuseext2.