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

1
2
3
4
5
6
7
[[email protected] ~]# mount /dev/cdrom  /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only
[[email protected] ~]# cp /mnt/VMwareTools-10.0.0-2977863.tar.gz .
[[email protected] ~]# tar xzf VMwareTools-10.0.0-2977863.tar.gz
[[email protected] ~]# cd vmware-tools-distrib/
[[email protected] vmware-tools-distrib]# ./vmware-install.pl
[[email protected] vmware-tools-distrib]# ./vmware-install.real.pl
1
2
3
4
5
[[email protected] ~]# vmware-hgfsclient
data
[[email protected] ~]# mount -t vmhgfs .host:/data /mnt
[[email protected] ~]# ls /mnt/
bssh  env2.7  Fabric-1.13.1  pssh-2.3.1  pytest  test  WTools