CentOS 5.8 x64安装VirtualBox-5.0虚拟机

前端之家收集整理的这篇文章主要介绍了CentOS 5.8 x64安装VirtualBox-5.0虚拟机前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

根据自己的环境下载相应的安装包:

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

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,直接在图形界面下使用。(过程略过)

image

image

vBox简单安装记录一下,如果临时的虚拟机安装需求,可以试一试。

猜你在找的CentOS相关文章