系统运维 · 2017年7月10日 1

CentOS 7 安装 vmware tools 提示The path “” is not a valid path to the 3.10.0-514.26.2.el7.x86_64 kernel headers.

[box style=”info”]

错误提示

Searching for a valid kernel header path…
The path “” is not a valid path to the 3.10.0-514.26.2.el7.x86_64 kernel
headers.
Would you like to change it? [yes]

Enter the path to the kernel header files for the 3.10.0-514.26.2.el7.x86_64
kernel?

The path “” is not a valid path to the 3.10.0-514.26.2.el7.x86_64 kernel
headers.
[/box]

1.选择ctrl+z停止

2.安装 kernel-devel

yum install kernel-devel-$(uname -r) 

3.重新运行./vmware-install.pl

报错问题就此解决。