Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
如果出现这个就表明gcc没有安装
# yum install gcc gcc-c++ automake make
将编译环境一次装好
Searching for a valid kernel header path...
Searching for a valid kernel header path...
The path "" is not a valid path to the 3.10.0-229.el7.x86_64 kernel headers.
# yum install kernel
上面的命令搞定后,再进行vmtools的安装。原本错误的地方变成了这样:
Searching for GCC...
Detected GCC binary at "/bin/gcc".
The path "/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
Detected the kernel headers at
"/lib/modules/3.10.0-229.4.2.el7.x86_64/build/include".
The path "/lib/modules/3.10.0-229.4.2.el7.x86_64/build/include" appears to be a
valid path to the 3.10.0-229.4.2.el7.x86_64 kernel headers.
Would you like to change it? [no]
The configuration of VMware Tools 9.9.2 build-2496486 for Linux for this
running kernel completed successfully.
Enjoy,
--the VMware team
然后reboot重启
安装好vmware tools后,重启。然后在虚拟机菜单栏上选择查看——立即适应客户机。就能使linux全屏了。