1、开启虚拟机并登录系统
2、在VirtualBox虚拟系统界面工具栏中选择“设备”->“安装增强功能”
在安装VirtualBox增强工具的时候提示下列错误
Please install the gcc make perl packages from your distribution. Please install the Linux kernel "header" files matching the current kernelfor adding new hardware support to the system. The distribution packages containing the headers are probably: kernel-devel kernel-devel-3.10.0-693.el7.x86_64
解决办法
yum install gcc make perl yum install kernel-devel-$(uname -r) rpm -qa kernel\*
3、处理完以上错误后
cd /run/media/当前登录的用户名/VBox_GAs5.2.18/ sh VBoxLinuxAdditions.run
4、重新启动虚拟系统
如果出现花屏显现,先关闭系统,然后在左侧列表中选中系统->设置->系统->硬件加速->把勾都取消掉后再启动。
访客评论