一.下载vritualbox和dkms
wget http://linux.dell.com/dkms/permalink/dkms-2.2.0.3-1.noarch.rpm
wget http://download.virtualbox.org/virtualbox/5.0.12/VirtualBox-5.0-5.0.12_104815_el5-1.x86_64.rpm
二.安装相关软件
287 yum groupinstall "Development Tools"
288 yum -y install gcc
289 yum install qt qt-x11
292 yum -y install kernel-devel
293 yum -y install kernel-headers
294 yum install kerbel
296 uname -a
297 rpm -ivh dkms-2.2.0.3-1.noarch.rpm
三.安装vritualbox
298 rpm -ivh VirtualBox-5.0-5.0.12_104815_el6-1.x86_64.rpm
299 reboot
300 /etc/init.d/vboxdrv setup
四.运行
[root@localhost ~]# virtualbox
本文转自 HMLinux 51CTO博客,原文链接:http://blog.51cto.com/7424593/1727475