CentOS 7.6安装vmware tools执行以下语句时
[root@dbserver vmware-tools-distrib]#./vmware-install.pl
安装过程中遇到提示The path "" is not a valid path to the 3.10.0-957.el7.x86_64 kernelheaders.
解决方案:
a、ctrl+z停止安装
b、安装kernel-devel
[root@dbserver vmware-tools-distrib]# yum -y installkernel-devel-$(uname -r)
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_640:3.10.0-957.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================