为了使 windows 系统和虚拟机linux系统共享文件,利用 .gz 文件安装 VMware tools工具。异常中断的时候可能出现这样的问题:

 [root@localhost vmware-tools-distrib]#./vmware-install.pl   
You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes]

Error: Unable to execute"/mnt/Redhat/vmware-uninstall-tools.pl.

Uninstall failed.  Please correct the failureand re run the install.

Execution aborted.

[root@localhost vmware-tools-distrib]#./vmware-install.pl

A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes] no

User cancelled install.
Execution aborted.

 

    我们注意到输入【yes】或者【no】,都不能解决问题!产生这个问题的原因在于:安装的过程中异常的中断了,导致"/mnt/Redhat/vmware-uninstall-tools.pl“无法找到。

 

   此时, 我们可以到.gz 文件解压出来的文件夹 “vmware-tools-distrib”下的目录下,找到vmware-install.pl。此时我们注意到,你在用刚才的方法执行(./vmware-install.pl)或者双击选择在Terminal中运行,可以正常安装此工具


Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐