VirtualBox安裝

簡單記錄一下VirtualBox的安裝過程,出現(xiàn)的問題以及解決方案.

成都創(chuàng)新互聯(lián)公司2013年成立,先為祁連等服務(wù)建站,祁連等地企業(yè),進行企業(yè)商務(wù)咨詢服務(wù)。為祁連企業(yè)網(wǎng)站制作PC+手機+微官網(wǎng)三網(wǎng)同步一站式服務(wù)解決您的所有建站問題。

下載安裝包

目前的最新版本是6.1.18, 下載鏈接

執(zhí)行安裝

雙擊執(zhí)行安裝,安裝的時候可能會出現(xiàn)回退,然后提示出現(xiàn)嚴重錯誤,解決方法為:
1.啟動服務(wù)Device Install Service和Device Setup Service,出錯原因沒有仔細查看日志信息,猜測是VirtualBox安裝時需安裝網(wǎng)卡等設(shè)備;
2.清理注冊表:下載CCleaner,清理垃圾注冊信息

設(shè)置共享文件夾

1.新增共享文件夾:虛擬機設(shè)置中新增共享文件夾,選擇Windows主機的共享文件夾,可不填掛載點
2.安裝增強功能:
A.添加虛擬光驅(qū)
B.掛載光驅(qū)
mkdir -p /media/drive
mount -t auto /dev/cdrom /media/drive/
C.執(zhí)行增強功能安裝腳本
cd /media/drive/
sh VBoxLinuxAdditions.run
如安裝過程出現(xiàn)錯誤”Could not find the X.Org or XFree86 Window System, skipping”,安裝相應(yīng)的組件即可
yum -y install xorg-x11-drivers xorg-x11-utils
重新執(zhí)行此腳本:

    [root@localhost drive]# sh ./VBoxLinuxAdditions.run
    Verifying archive integrity... All good.
    Uncompressing VirtualBox 6.1.8 Guest Additions for Linux........
    VirtualBox Guest Additions installer
    Removing installed version 6.1.8 of VirtualBox Guest Additions...
    Copying additional installer modules ...
    Installing additional modules ...
    VirtualBox Guest Additions: Starting.
    VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
    modules.  This may take a while.
    VirtualBox Guest Additions: To build modules for other installed kernels, run
    VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
    VirtualBox Guest Additions: or
    VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
    VirtualBox Guest Additions: Building the modules for kernel
    3.10.0-693.el7.x86_64.
    VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
    went wrong
    VirtualBox Guest Additions: Running kernel modules will not be replaced until
    the system is restarted

雖然提示出錯,實際上一安裝成功,進入/media目錄可看到掛載的共享文件夾(以sf_打頭).

網(wǎng)站名稱:VirtualBox安裝
轉(zhuǎn)載源于:http://bm7419.com/article38/ijphsp.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)建站品牌網(wǎng)站建設(shè)、Google、響應(yīng)式網(wǎng)站品牌網(wǎng)站制作、ChatGPT

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都定制網(wǎng)站網(wǎng)頁設(shè)計