您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
1, 系统版本
2, 下载VirtualBox
3, 安装VirtualBox
4, 排错
5, 安装虚拟系统测试
6, 发博客
1, 系统版本
[chunli@localhost ~]$ cat /etc/redhat-release Fedora release 24 (Twenty Four) [chunli@localhost ~]$ uname -rm 4.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-devel There 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/vboxconfig vboxdrv.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-devel There were problems setting up VirtualBox. To re-start the set-up process, run /sbin/vboxconfig as root. 还是报错,单简洁了许多,重启电脑试试 [root@localhost chunli]# reboot 开机再试试 [root@localhost chunli]# /sbin/vboxconfig vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: Starting VirtualBox services. [root@localhost chunli]# echo $? 0 终于~ 好了!
5, 安装虚拟系统测试
可以启动xp,说明virtualBox运行正常了.
6, 发博客.
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。