赞
踩
本文介绍通过__VMware共享工具__如何实现主机与虚拟机之间的文件共享,这样就可以很方便的在windows中编辑代码,然后在共享文件夹下自动完成文件的上传和下载。
daydream@ubuntu:$ tar -xzvf VMwareTools-10.3.10-13959562.tar.gz -C /home/daydream/Desktop
daydream@ubuntu:$ cd /home/daydream/Desktop/vmware-tools-distrib/
3. 运行安装程序,安照安装步骤执行即可(路径选择默认即可)
daydream@ubuntu:$ sudo ./vmware-install.pl
daydream@ubuntu:$ reboot
daydream@ubuntu:/mnt/hgfs$ ls -a
. .. ubuntu18.04_file_sys
关闭虚拟机,选择“编辑虚拟机设置”,选择弹出的对话框中的"硬件";
daydream@ubuntu:/tmp/vmware-tools-distrib$ sudo ./vmware-install.pl The installer has detected an existing installation of open-vm-tools packages on this system and will not attempt to remove and replace these user-space applications. It is recommended to use the open-vm-tools packages provided by the operating system. If you do not want to use the existing installation of open-vm-tools packages and use VMware Tools, you must uninstall the open-vm-tools packages and re-run this installer. The packages that need to be removed are: open-vm-tools Packages must be removed with the --purge option. The installer will next check if there are any missing kernel drivers. Type yes if you want to do this, otherwise type no [yes] yes INPUT: [yes] A previous installation of VMware Tools has been detected. The previous installation was made by the tar installer (version 4). 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] yes INPUT: [yes] Error: Unable to execute "/usr/bin/vmware-uninstall-tools.pl. Uninstall failed. Please correct the failure and re run the install. Execution aborted. daydream@ubuntu:/tmp/vmware-tools-distrib$
出现这种的原因是 安装时会先删除已经存在的安装文件,但是删除程序并没有在路径/usr/bin/中
daydream@ubuntu:$ cd vmware-tools-distrib/bin/
daydream@ubuntu:$ sudo cp -r vmware-uninstall-tools.pl /usr/bin/
https://www.cnblogs.com/huangjianxin/p/6343881.html
https://blog.csdn.net/Homewm/article/details/92562342
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。