Linux : How to configure Sun VirtualBox on CentOS 5.x

installation process of VirtualBox on a fresh centos5.5 server.

The installation of VirtualBox will require the building of kernel modules.
If the development environment and kernel source are not already installed:

Step-1:
Install the necessary tools, just issue the following command from command prompt, you must have root privilege for this.

#yum groupinstall “Development Tools”
#yum install kernel-devel

Step-2:
Download the rpm from VirtualBox.org Site

#wget http://download.virtualbox.org/virtualbox/3.2.0/VirtualBox-3.2-3.2.0_61806_rhel5-1.i386.rpm

Step-3:
Install the VirtualBox
#rpm -Uvh VirtualBox-3.2-3.2.0_61806_rhel5-1.i386.rpm

This will install the VirtualBox into the system

Step-4:
We need to assign user to vboxusers group which is created by the installation now who will run VirtualBox
#usermod -G vboxusers username

Step-5:
Run the VirtualBox
#VirtualBox &

Now from GNOME or KDE run under “Applications / System Tools / Sun xVM VirtualBox” and start using it.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.