下载安装包VirtualBox-4.2-4.2.0_80737_el5-1.x86_64.rpm ,寻找linux版,我的是RH6下的。
使用rpm命令安装 rpm -ivh VirtualBox-4.2-4.2.0_80737_el5-1.x86_64.rpm
报出安装包依赖关系:
libSDL-1.2.so.0()(64bit) is needed by VirtualBox-4.2-4.2.12_84980_el6-1.x86_64
到红帽的安装盘里,寻找SDL-1.2.14-2.el6.x86_64.rpm ,安装上。
rpm装完之后,爆出一个 Recompiling VirtualBox kernel modules [失败]
使用命令:VirtualBox报出需要重新编译内核
使用命令:/etc/init.d/vboxdrv setup
报错:
[root@64 Packages]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [确定]
Recompiling VirtualBox kernel modules [失败]
(Look at /var/log/vbox-install.log to find out what went wrong)
查看日志:
使用命令 yum install kernel -devel-2.6.32-220.el6.x86_64.rpm
安装完内核后,编译virtualbox内核
使用命令VirtualBox可以启动图形界面,如果无法启动图形界面
oh ,crap ,i delete the bloody history
how can I delete that important thing
I don't know
I guess I'm just tired and oH ,crap