centos安装增强功能出现kernel headers not found for target kernel解决办法

  • update kernel
    yum update kernel -y

  • Install the kernel-headers, kernel-devel and other required packages
    yum install kernel-headers kernel-devel gcc make -y

  • Reboot the server to make sure it load to the new kernel
    init 6

  • 原文

文章来源于互联网,如有雷同请联系站长删除:VirtualBox 安装Centos7时出现kernel headers not found for target kernel