本文測試環境是centos7最小化安裝方式。 安裝vmtools時提示錯誤: What is the location of the "ifconfig" program on your machine?
。html
安裝net-tools便可。 安裝過程當中可能還須要安裝gcc,直接 yum install gcc* -y 便可。centos
繼續安裝報錯: 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。一路回車便可安裝成功。centos7