VMware - Linux 客户机中装载共享文件夹

bash

[root@localhost ~]# mount /dev/cdrom  /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only
[root@localhost ~]# cp /mnt/VMwareTools-10.0.0-2977863.tar.gz .
[root@localhost ~]# tar xzf VMwareTools-10.0.0-2977863.tar.gz
[root@localhost ~]# cd vmware-tools-distrib/
[root@localhost vmware-tools-distrib]# ./vmware-install.pl
[root@localhost vmware-tools-distrib]# ./vmware-install.real.pl

bash

[root@localhost ~]# vmware-hgfsclient
data
[root@localhost ~]# mount -t vmhgfs .host:/data /mnt
[root@localhost ~]# ls /mnt/
bssh  env2.7  Fabric-1.13.1  pssh-2.3.1  pytest  test  WTools