虚拟机中的centos7安装vbox的增强工具报错:
Building the main Guest Additions module [FAILED]
查看日志发现:
unable to find the sources of your current Linux kernel,
我们进行使用yum进行安装下面的东西:
yum install -y gcc kernel kernel-devel kernel-headers
然后重启一下你的Linux服务器,reboot,然后就可以了。后面重启成功之后,就可以进行virtualbox增强工具安装了。
解决:Building the main Guest Additions module [失败]:http://www.linuxdiyf.com/linux/1928.html