Virtualbox kernel header files missing error occurs during installation enhancements
virtualbox guest additions kernel headers not found for target kernel
You can solve the problem in the following order
yum update
yum install gcc
yum install gcc-c++
yum install make
yum install kernel-headers
yum install kernel-devel
重启
设备->安装增强功能->打开
sh ./VBoxLinuxAdditions.run