Virtualbox is still one of the best choice of virtualization compared to other, because of the user friendly environment ,the power and of the great support of the Linux/Unix community online from forums.
Lets begin with the Version Virtualbox 4.3.2.
1- Please remove any older version
# yum remove VirtualBox-4.x
2- Adding VirtualBox Repository
Next add the VirtualBox own repository to install latest VirtualBox 4.3
For RHEL/CentOS 6.x
# cd /etc/yum.repos.d/
# wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo
For Fedora 19, 18
## Fedora 19,18
# cd /etc/yum.repos.d/
# wget http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo
Install Dependency Packages for VirtualBox
Now you have to update the repository to make the virtualbox package available, then install some require packages need for the kernel modules to integrate the virtulbox with the kernel.
# yum update
# yum install binutils qt gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms
Install the last Virtualbox
# yum install VirtualBox-4.3
Rebuild Kernel Modules for VirtualBox 4.3
# /etc/init.d/vboxdrv setup
This method has been tested under My Fedora 19 Gnome and its working fine.
Please note that /etc/init.d/vboxdrv setup will not work under the new laptop generation running under secureboot (UEFI).
[user@localhost ~]$ sudo /etc/init.d/vboxdrv setup
[sudo] password for user:
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMS[ OK ]
Starting VirtualBox kernel modules [FAILED]
(modprobe vboxdrv failed. Please use ‘dmesg’ to find out why)
to make this possible please disable the secure boot from the bios, then re-try again.