Fedora 24 x86 安装VirtualBox
1, 系统版本
2, 下载VirtualBox
3, 安装VirtualBox
4, 排错
5, 安装虚拟系统测试
6, 发博客
1, 系统版本
[chunli@localhost~]$cat/etc/redhat-releaseFedorarelease24(TwentyFour)[chunli@localhost~]$uname-rm4.5.5-300.fc24.i686+PAEi686
系统版本和我的不一样的,不要往下看了...
2, 下载VirtualBox
Virtualbox官网https://www.virtualbox.org/wgethttp://download.virtualbox.org/virtualbox/5.1.14/VirtualBox-5.1-5.1.14_112924_fedora24-1.i686.rpm
3, 安装VirtualBox
[chunli@localhost~]$sudodnfinstall./VirtualBox-5.1-5.1.14_112924_fedora24-1.i686.rpm提示:vboxdrv.sh:failed:Lookat/var/log/vbox-install.logtofindoutwhatwentwrong.Thissystemisnotcurrentlysetuptobuildkernelmodules(systemextensions).Runningthefollowingcommandsshouldsetthesystemupcorrectly:yuminstallkernel-PAE-core-devel-4.5.5-300.fc24.i686(Thelastcommandmayfailifyoursystemisnotfullyupdated.)yuminstallkernel-PAE-core-develTherewereproblemssettingupVirtualBox.Tore-starttheset-upprocess,run/sbin/vboxconfig
4, 排错
[chunli@localhost~]$sudodnf--best--allowerasinginstallkernel-PAEkernel-PAE-corekernel-PAE-develkernel-PAE-modules[root@localhostchunli]#exportKERN_DIR=/usr/src/kernels/4.9.12-100.fc24.i686+PAE/[root@localhostchunli]#/sbin/vboxconfigvboxdrv.sh:BuildingVirtualBoxkernelmodules.vboxdrv.sh:StartingVirtualBoxservices.vboxdrv.sh:BuildingVirtualBoxkernelmodules.vboxdrv.sh:failed:modprobevboxdrvfailed.Pleaseuse'dmesg'tofindoutwhy.Thissystemisnotcurrentlysetuptobuildkernelmodules(systemextensions).Runningthefollowingcommandsshouldsetthesystemupcorrectly:yuminstallkernel-PAE-core-devel-4.5.5-300.fc24.i686(Thelastcommandmayfailifyoursystemisnotfullyupdated.)yuminstallkernel-PAE-core-develTherewereproblemssettingupVirtualBox.Tore-starttheset-upprocess,run/sbin/vboxconfigasroot.还是报错,单简洁了许多,重启电脑试试[root@localhostchunli]#reboot开机再试试[root@localhostchunli]#/sbin/vboxconfigvboxdrv.sh:BuildingVirtualBoxkernelmodules.vboxdrv.sh:StartingVirtualBoxservices.[root@localhostchunli]#echo$?0终于~好了!
5, 安装虚拟系统测试
可以启动xp,说明virtualBox运行正常了.
6, 发博客.
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。