首頁 > 軟體

CentOS 5.8 x64安裝VirtualBox-5.0虛擬機器

2020-06-16 17:34:26

CentOS 5.8 x64安裝VirtualBox-5.0虛擬機器,根據自己的環境下載相應的安裝包:

http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html

1. 下載並安裝for el5 virtualbox虛擬機器安裝包,安裝過程如下(缺依賴包)

[root@lvmtest ~]# rpm -ivh VirtualBox-5.0-5.0.10_104061_el5-1.x86_64.rpm    
warning: VirtualBox-5.0-5.0.10_104061_el5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139    
error: Failed dependencies:    
        libSDL-1.2.so.0()(64bit) is needed by VirtualBox-5.0-5.0.10_104061_el5-1.x86_64    
[root@lvmtest ~]#

2,安裝缺依賴包(安裝光碟中有)

[root@lvmtest Server]# rpm -ivh SDL-devel-1.2.10-9.el5.x86_64.rpm SDL-1.2.10-9.el5.x86_64.rpm mesa-libGLU-devel-6.5.1-7.10.el5.x86_64.rpm    
warning: SDL-devel-1.2.10-9.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159    
Preparing...                ########################################### [100%]    
  1:SDL                    ########################################### [ 33%]    
  2:mesa-libGLU-devel      ########################################### [ 67%]    
  3:SDL-devel              ########################################### [100%]    
[root@lvmtest Server]#

3,再次安裝如下:

[root@lvmtest ~]# rpm -ivh VirtualBox-5.0-5.0.10_104061_el5-1.x86_64.rpm    
warning: VirtualBox-5.0-5.0.10_104061_el5-1.x86_64.rpm: Header V4 DSA signature: NOKEY, key ID 98ab5139    
Preparing...                ########################################### [100%]    
  1:VirtualBox-5.0        ########################################### [100%]

Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages  
emitted during module compilation will be logged to /var/log/vbox-install.log.

Stopping VirtualBox kernel modules [確定]  
Recompiling VirtualBox kernel modules [確定]    
Starting VirtualBox kernel modules [確定]    
[root@lvmtest ~]#    
[root@lvmtest ~]#

4,  直接在圖形介面下使用。(過程略過)

vbox簡單安裝記錄一下,如果臨時的虛擬機器安裝需求,可以試一試。

5. VBOX磁碟檔案多次複製需要清除磁碟UUID
# VBoxManage.exe internalcommands sethduuid /data/vbox/winxp.vdi
UUID changed to: 1b5113af-3e76-40bd-928c-55a5dc27d5f2

在VirtualBox中與主機共用資料夾  http://www.linuxidc.com/Linux/2016-08/134292.htm

Linux系統入門學習:教你在VirtualBox 安裝 Ubuntu 15.04 http://www.linuxidc.com/Linux/2015-08/121807.htm

Linux系統入門學習:教你在VirtualBox 安裝 Fedora 22  http://www.linuxidc.com/Linux/2015-08/121808.htm

VirtualBox的快照功能  http://www.linuxidc.com/Linux/2015-08/122469.htm

VirtualBox修改虛擬機器磁碟VDI的大小  http://www.linuxidc.com/Linux/2015-01/111186.htm

VirtualBox安裝Windows 8.1遇到0x000000C4錯誤解決辦法  http://www.linuxidc.com/Linux/2014-11/108855.htm

在 Ubuntu 12.10 中使用 Virtualbox 安裝 Win7 http://www.linuxidc.com/Linux/2012-11/74195.htm

Ubuntu中用VirtualBox虛擬機器安裝Windows XP完整圖解 http://www.linuxidc.com/Linux/2010-09/28435p8.htm

VirtualBox 虛擬機器安裝 Ubuntu 13.10 截圖 http://www.linuxidc.com/Linux/2013-11/92698.htm

Ubuntu安裝虛擬機器軟體 VirtualBox 4.3.10 http://www.linuxidc.com/Linux/2014-03/99113.htm


IT145.com E-mail:sddin#qq.com