Install VMware Tools and always prompt when running vmware-config-tools.pl:
The path "is not valid."
What is the location of the directory of C header files, match your running
Kernel?
For Centos/redhat and Ubuntu/debian, the solution is basically the same, but the input commands are different. Centos/redhat
you need to enter a command to install Kernel-headers:
Yum Install Kernel-headers
Enter command to install Kernel-devel:
Yum Install Kernel-devel
Once the installation is complete, the installation files for VMware Tools can be run and the installation will be successful.
Ubuntu/debian 1. Update or install Linux headers
sudo apt-get update && sudo apt-get install build-essential linux-headers-$ (uname-r)
After the installation is complete, you should be able to resolve the problem. If not, then:
2. The associated file is because VMware Tools does not think the path is valid because the files are not found.
cd/lib/modules/$ (uname-r)/build/include/linux
sudo ln-s. /generated/utsrelease.h
sudo ln-s. /generated/autoconf.h
sudo ln-s. /generated/uapi/linux/version.h
3. Perform the installation again, OK:
sudo./vmware-install.pl