您好,登錄后才能下訂單哦!
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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。