During the installation process, I found following error:
Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
What is the location of the directory of C header files that match your running kernel?
What VMWare needs is the kernel-header and kernel-devel package from the same version with your current loaded kernel. You can check your loaded kernel by using following command:
$uname -r
2.6.32-71.el6.x86_64
SOLUTION 1
Solution #1 is highly recommended because it is better to update your kernel to the latest stable version provided by the repository. But you need to have downtime on this. Steps as below:
1. Update the 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
Reboot the server to make sure it load to the new kernel:
$ init 6
4. The kernel version has been updated including the kernel-headers and kernel-devel:
NOTE: If you have install gcc previously, you will facing error because the kernel-headers already installed but the version is the latest kernel version. You need to remove it first using following command:
Once you have completed using one of the solution above, proceed to the VMware tools installation by following the wizard. The installation should be able to detect the kernel header path at this moment.
【推荐】华为云11.11普惠季 血拼风暴 一促即发
【拼团】腾讯云服务器拼团活动又双叒叕来了!
【工具】SpreadJS纯前端表格控件,可嵌入应用开发的在线Excel
【推荐】腾讯云新注册用户域名抢购1元起
· centos6 安装wmwaretools找不到kernel header
· 在虚拟机中安装centOS6.3后,安装vmtools时的错误
· centos 6安装VMware-Workstation-7.0.0-203739.i386_tool.bundle
· Build VM Cluster on CentOS Host
· 【经验分享】 解决CentOS7 安装VMTools提示找不到Kernel头文件的方案