如果在 VMware Tools 安装期间运行 /usr/bin/vmware-config-tools.pl,将显示以下消息:
设置无法在您的计算机上找到“ifconfig”程序。请确认是否已安装该程序。是否要手动指定此程序的位置?[是] (Setup is unable to find the “ifconfig” program on your machine.Please make sure it is installed.Do you want to specify the location of this program by hand?[yes])
如果键入 yes,系统会继续提示您提供 ifconfig 程序的有效路径。如果键入 no,安装过程将无法继续并会中止。
默认安装类型 centos7 是最简安装,此类安装不安装 net-tools 软件包。因此,ifconfig 程序不可用。
解决办法:
在安装 VMware Tools 之前,运行以下命令安装 ifconfig 程序:
yum install net-tools