本文测试环境是centos7最小化安装方式。 安装vmtools时提示错误: What is the location of the "ifconfig" program on your machine?
。
安装net-tools即可。 安装过程中可能还需要安装gcc,直接 yum install gcc* -y 即可。
继续安装报错: The path "" is not a valid path to the 3.10.0-327.el7.x86_64 kernel headers.
Would you like to change it?
安装kernel-devel。也可以选择no。一路回车即可安装成功。
参考链接: