1. 查看共享文件夹名称
vmware-hgfsclient
2. 使用挂载命令
sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other
3.
方法一:
实现挂载的自动化(每次不要手动挂载)
sudo vim ~/.bashrc
最后一行添加这句话
sudo vmhgfs-fuse .host:/ /mnt/hgfs/ -o allow_other
方法二:
编辑/etc/fstab
sudo vim /etc/fstab
下面是格式
<remote_server_ip_or_hostname>:/<shared_directory> <local_mount_point> nfs defaults 0 0
而我远程服务的共享服务器就是我的本地电脑,所以我只需要用
ipconfig #查下对应ip就好
知道后填到对应位置