溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Fedora 24 x86 安裝VirtualBox

發(fā)布時間:2020-04-03 09:28:34 來源:網(wǎng)絡 閱讀:1338 作者:990487026 欄目:開發(fā)技術



1, 系統(tǒng)版本

2, 下載VirtualBox

3, 安裝VirtualBox

4, 排錯

5, 安裝虛擬系統(tǒng)測試

6, 發(fā)博客





1, 系統(tǒng)版本

[chunli@localhost ~]$ cat /etc/redhat-release 
Fedora release 24 (Twenty Four)

[chunli@localhost ~]$ uname -rm
4.5.5-300.fc24.i686+PAE i686

系統(tǒng)版本和我的不一樣的,不要往下看了...



2, 下載VirtualBox

Virtual box 官網(wǎng) 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, 安裝虛擬系統(tǒng)測試

Fedora 24 x86 安裝VirtualBox

Fedora 24 x86 安裝VirtualBox

Fedora 24 x86 安裝VirtualBox


可以啟動xp,說明virtualBox運行正常了.




6, 發(fā)博客.



向AI問一下細節(jié)

免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權內(nèi)容。

AI