First install: kernel-devel
Execute Command:
yum install kernel-devel-$(uname -r)
Download the virtual machine of the corresponding version from the official Virtualbox website.
Https://www.virtualbox.org/wiki/Linux_Downloads
Then
#rpm -ivh VirtualBox-4.3-4.3.6_91406_fedora18-1.x86_64.rpm
Direct Installation
#usermod -G vboxusers your_user_name
Then execute the command to start virtualBox:
# /etc/rc.d/init.d/vboxdrv setup
The following information is displayed:
Stopping VirtualBox kernel modules [ OK ]Uninstalling old VirtualBox DKMS kernel modules [ OK ]Removing old VirtualBox kernel module [ OK ]Trying to register the VirtualBox kernel modules using DKMS[ OK ]Starting VirtualBox kernel modules [ OK ]
Now the virtual machine is successfully installed.
Zemo hand, reproduced indicated Source: http://blog.csdn.net/zemochen/article/details/18151171