2024年3月31日发(作者:)

一、安装增强包

1、启动CentOS6.5 虚拟机,点击设备 安装增强功能。

则 “光盘”VBOXADDITIONS已经挂载到 CentOS 5.5 的桌面上了.

此时 双击光盘—>双击即可完成安装

通常情况下我们直接运行挂载到系统中的 VirtualBox 客户端增强功能的组件即可。

2、报错解决:笔者安装时出现报错

Bulding the VirtualBox Guest Additions Kernel modules [failed]

Your system does not seem to be set up to build kernel modules.

Look at /var/log/ to find out what went worg. Once you

have corrected it,you run

/etc/init.d/vboxadd setup to build them

显然内核不支持 缺少编译内核的相关组件,解决方法安装内核组件即可。

[root@localhost ~]# yum install kernel kernel-devel

Loaded plugins: fastestmirror, refresh-packagekit, security

Repository c6-media is listed more than once in the configuration

Loading mirror speeds from cached hostfile

* base:

* extras:

* updates:

Setting up Install Process

Resolving Dependencies

--> Running transaction check