在VMware下安裝Ubuntu18.04時vmware tools關鍵步驟:
1、快捷鍵Ctrl+Alt+T,啟動命令框,然后切換到root用戶(切換命令為:sudo su,回車然后會提示你輸入當前登錄用戶的密碼,輸入成功后即可進入root用戶):
2、然后我們以root用戶進入到剛剛提取到的vmware-tools-distrib文件夾下,然后輸入命令:./vmware-install.pl,(命令框下的操作跟windows powershell下的類似,支持tab鍵自動補齊,自動切換符合條件的文件)然后回車。
3、開始安裝VMware Tools了,根據其提示輸入yes/no,直到出現Enjoy, –the VMware team,就表示安裝成功了,然后手動重啟虛擬機。
PS:安裝vmware-tools出現”what is the location of the “ifconfig”program on your machine?”, 回車鍵后出現”The answer is invalid”.方法:
當出現”what is the location of the “ifconfig”program on your machine?”時直接輸入“yes”,再回車即可,
之后的安裝也默認回車。