VMware虚拟机 Ubuntu v15.04 和 Windows v8.1 共享文件夹
Please ensure that latest Workstation 11 is installed.
首先确定安装了 VMware Tools,如下图。判断是否已成功安装了VMwa Tools的简单方法:检查虚拟机与宿主机能否互相进行复制/粘贴内容的操作,如果能,就是安装成功了,如果不能,就需要重新安装。
然后进行下面步骤。
Make sure open-vm-tools is not installed.
$ sudo apt-get remove open-vm-tools
1. Make sure the updates are done:
$ sudo apt-get update
2. Make sure git is installed
$ sudo apt-get install git
3. Run the command to get the tools from repository.
$ sudo git clone https://github.com/rasa/vmware-tools-patches.git
4. cd to vmware-tools-folder
$ cd vmware-tools-patches
5. Run the patch
$ sudo ./download-tools.sh
这里需要较长的时间。
6. Run the following patch
$ sudo ./untar-and-patch.sh
7. Run the complie.sh file
$ sudo ./compile.sh
8 进入mnt目录查看已经有hgfs目录了
$ cd /mnt/
$ ls
cdrom hgfs