昨天在vmware虚拟机安装了Ubuntu系统,想把windows系统的文件共享给Ubuntu系统,在网上查了一下,说安装vmware tools就可以实现,但安装后遇到了各种问题,每个问题网上各种说法,我都一一试了,系统设置被我搞的乱七八糟,无奈之下从装了几次系统(还好是虚拟机),但是问题一个接一个没有办法解决,后来我看到官方的说法原因是低版本的wmware tools与高版本的系统内核的版本差异造成的。
参照他的解决方案,我试了,终于成功了,方法记录如下:安装git :
$ sudo apt-get install git(一直回车默认安装就好)
下载wmware tools补丁:
$ git clone https://github.com/rasa/vmware-tools-patches.git
进入vmware-tools-patches路径:
$ cd vmware-tools-patches(注意切换成自己的路径)
下载最新的wmware tools压缩包:
$ ./download-tools.sh latest
继续执行下面两条命令即可:
$ ./untar-and-patch.sh
$ ./compile.sh
同理,这个方法也可以解决windows与Centos等系统间试图通过wmware tools共享文件的问题。
原链接: https://github.com/rasa/vmware-tools-patches