/usr/lib/vmware-tools]

  In which directory do you want to install the documentation files?

  [/usr/share/doc/vmware-tools]

  The path "/usr/share/doc/vmware-tools" does not exist currently. This program

  is going to create it, including needed parent directories. Is this what you

  want? [yes]

  The installation of VMware Tools 9.2.1 build-818201 for Linux completed

  successfully. You can decide to remove this software from your system at any

  time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

  Before running VMware Tools for the first time, you need to configure it by

  invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want

  this program to invoke the command for you now? [yes]

  Initializing...

  This configuration program is to be executed in a virtual machine.

  Execution aborted.

  搞到很久只能钝刀折腾出来这些,不过能用 ,

  自己执行"/usr/bin/vmware-config-tools.pl 看看

  具体哪些修改可能是多余的我就不清楚了

  打开vmware-config-tools.pl脚本(usr/bin下)

  5479行改为“no”

  5481行改为“yes”

  13600行改为"no"

  13950行改成“yes”

  1476/1480/1487行的全设为inside

  保存退出运行该脚本

  退出账户|重登|设置分辨率|重登录

  ok!

  VMware安装Linux后我们会常常安装VMTools来共享文件,免得向Linux传输太多文件就会造成VMware的虚拟文件太大了。这就是共享文件夹的好处。但是问题就在这里出现了。设置共享文件夹后Linux没有显示共享的文件夹,怎么办?

  声明:

  1.有些人修改了VMTools中vmhgfs.tar这个文件,让VMware支持某个版本的Linux内核,这个方法可行,但是安装时间可能很久

  2.我的这个教程适合于:最新(比较新)版本的VMware和最新(比较新)的Linux版本,这些都应该是对应的

  (千万不要在今天使用VMware6.0安装Ubuntu12.10,这样的搭配显然不合理,兼容性明显不好,但是VMware9.0和Ubuntu8.04是可以的)

  3.事先安装gcc编译器(yum install gcc/apt-get install gcc)

  测试流程:

  1.(切换root用户)VMware加载VMTools后在/media下有个【VMware Tools】目录,我们直接进去,然后解压到/home目录下:

  (#cd VMware Tools --->这个命令可能不行,因为目录名称中间有个空格键,使用#cd VM*即可)

  2.进入/home/vmware-tools-distrub目录,然后http://t.zoukankan.com/vmware-install.pl运行程序:

  3.安装过程中一路回车【Enter】即可:

  4.安装成功:

  5.重启系统:

  6.重启系统后设置共享文件夹:

  7.设置OK了:

  8.重启系统:

  9.在Windows下的共享文件夹里放在Test.txt用于测试:

  10.Linux系统重启后问题出现了,共享文件夹设置成功,但是里面啥也不显示!(/mnt/hgfs)

  11.试试关机:

  12.关机后再次启动系统吧:

  13.共享文件夹成功显示了:

  问题的解决方法:

  设置好共享文件夹后应该选择的是【关机】而不是【重启】,我怀疑这和【保存设置】有关。【关机】后再次启动系统即可了。