https://www.linuxidc.com/Linux/2017-04/142897.htm
遇到的问题:
Centos安装vmware tools提示
Before you can compile modules, you need to have the following installed…
make
gcc
kernel headers of the running kernel
Searching for GCC…
the path “” is not valid path to the gcc binary.
Would you like to change it? [yes]
What is the location of the gcc program on your [MAC](http://www.itlogger.com/network/458.html "MAC")hine?
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?
解决方法
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
3. Reboot the server to make sure it load to the new kernel:
$ init 6
4.重新安装vmware tools
网友评论