Centos reminder enhancement for virtual machines
Centos is installed on the VirtualBox Virtual Machine. An error is reported when the enhancement function is installed. the error is "centos the headers for the current running kernel were not found ...... ", the error message is that the system cannot find the kernel headers and the method is found online. The original solution is: 1) yum install gcc-y 2) yum install gcc kernel-devel kernel-headers-y 3) restart the system. However, after performing the preceding steps and restarting the system, the enhancement function cannot be installed. After "yum install kernel *" is used and the system is restarted, the enhancement function can be installed. Therefore, the solution can be changed to: 1) yum install gcc-y 2) yum install kernel */yum install kernel-devel * 3) restart the system.