virtualbox安装centos 6之增强工具时,在错误日志中会提示:unable to find the source of your current linux kernel
#sudo sh ./VBoxLinuxAdditions.run
提示失败
Building the VirtualBox Guest Additions kernel modules [FAILED]
Your system does not seem to be set
在VirtualBox中安装CentOS 6的增强工具时遇到问题,提示找不到当前Linux内核的源码。解决方法包括安装GCC、kernel-devel和kernel-headers,重启,设置KERN_DIR环境变量,并解决内核版本不匹配的问题。通过复制匹配的内核版本文件到相应目录,最终成功安装。
virtualbox安装centos 6之增强工具时,在错误日志中会提示:unable to find the source of your current linux kernel
#sudo sh ./VBoxLinuxAdditions.run
提示失败
Building the VirtualBox Guest Additions kernel modules [FAILED]
Your system does not seem to be set
8041