想在linux 安装一个虚拟机,首选virtualbox
先在root 用户安装VirtualBox,非root 安装会报错
版本:VirtualBox-4.1-4.1.16_78094_fedora15-1.i686 .rpm
平台:fedora 15 内核 2.6.43.5-2.fc15.i686.PAE
- /etc/init.d/vboxdrv setup
- Stopping VirtualBox kernel modules [确定]
- Uninstalling old VirtualBox DKMS kernel modules [确定]
- Trying to register the VirtualBox kernel modules using DKMSError! echo
- Your kernel headers for kernel 2.6.43.5-2.fc15.i686.PAE cannot be found at
- /lib/modules/2.6.43.5-2.fc15.i686.PAE/build or /lib/modules/2.6.43.5-2.fc15.i686.PAE/source.
- [失败]
- (Failed, trying without DKMS)
- Recompiling VirtualBox kernel modules [失败]
- (Look at /var/log/vbox-install.log to find out what went wrong)
以前解决过,不记得,百度,goolge 下
- yum install kernel-PAE-devel
- yum install gcc
两条命令就OK了
参考: