Fedora 24 x86 安装VirtualBox
发表于:2024-11-25 作者:热门IT资讯网编辑
编辑最后更新 2024年11月25日,1, 系统版本2, 下载VirtualBox3, 安装VirtualBox4, 排错5, 安装虚拟系统测试6, 发博客1, 系统版本[chunli@localhost ~]$ cat /etc/red
1, 系统版本
2, 下载VirtualBox
3, 安装VirtualBox
4, 排错
5, 安装虚拟系统测试
6, 发博客
1, 系统版本
[chunli@localhost ~]$ cat /etc/redhat-release Fedora release 24 (Twenty Four)[chunli@localhost ~]$ uname -rm4.5.5-300.fc24.i686+PAE i686
系统版本和我的不一样的,不要往下看了...
2, 下载VirtualBox
Virtual box 官网 https://www.virtualbox.org/wget http://download.virtualbox.org/virtualbox/5.1.14/VirtualBox-5.1-5.1.14_112924_fedora24-1.i686.rpm
3, 安装VirtualBox
[chunli@localhost ~]$ sudo dnf install ./VirtualBox-5.1-5.1.14_112924_fedora24-1.i686.rpm 提示:vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.This system is not currently set up to build kernel modules (system extensions).Running the following commands should set the system up correctly: yum install kernel-PAE-core-devel-4.5.5-300.fc24.i686(The last command may fail if your system is not fully updated.) yum install kernel-PAE-core-develThere were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig
4, 排错
[chunli@localhost ~]$ sudo dnf --best --allowerasing install kernel-PAE kernel-PAE-core kernel-PAE-devel kernel-PAE-modules[root@localhost chunli]# export KERN_DIR=/usr/src/kernels/4.9.12-100.fc24.i686+PAE/[root@localhost chunli]# /sbin/vboxconfigvboxdrv.sh: Building VirtualBox kernel modules.vboxdrv.sh: Starting VirtualBox services.vboxdrv.sh: Building VirtualBox kernel modules.vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.This system is not currently set up to build kernel modules (system extensions).Running the following commands should set the system up correctly: yum install kernel-PAE-core-devel-4.5.5-300.fc24.i686(The last command may fail if your system is not fully updated.) yum install kernel-PAE-core-develThere were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfigas root.还是报错,单简洁了许多,重启电脑试试[root@localhost chunli]# reboot开机再试试 [root@localhost chunli]# /sbin/vboxconfigvboxdrv.sh: Building VirtualBox kernel modules.vboxdrv.sh: Starting VirtualBox services.[root@localhost chunli]# echo $?0终于~ 好了!
5, 安装虚拟系统测试
可以启动xp,说明virtualBox运行正常了.
6, 发博客.