centos安裝增強功能出現kernel headers not found for target kernel解決辦法


最近新安裝一個centos虛擬機,在安裝增強功能的時候出現了,kernel headers not found for target kernel的錯誤。特記下我的解決方案。

1.update kernel

yum update kernel -y

2.Install the kernel-headers, kernel-devel and other required packages

yum install kernel-headers kernel-devel gcc make -y

3.Reboot the server to make sure it load to the new kernel

  init 6


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM