VirtualBox 安装增强工具

菜单的: Device>insert  guest addtion.

定位: cd /media/cdrom

安装: sudo sh ./VBoxLinuxAdditions-x86.run

安装命令

然后,根据安装的提示,我们可以看到是unable to find the sources of your current Linux kernel,所以进行yum安装相关的东西
我们进行使用yum进行安装下面的东西
yum install -y gcc kernel kernel-devel kernel-headers

然后重启一下你的Linux服务器,reboot,然后就可以了。后面重启成功之后,就可以进行virtualbox增强工具安装了

原文地址:https://www.cnblogs.com/skying555/p/5310786.html