(软件环境: Vmware Workstation 15.5 Pro , Kali Linux2019.3)
1.VMware设置共享目录
2. 安装VMware-Tools
apt-get install open-vm-tools-desktop fuse
3. 创建目录
mkdir -p /mnt/hgfs/kali2019_share
4. 挂载共享文件夹
/usr/bin/vmhgfs-fuse .host:/kali2019_share /mnt/hgfs/kali2019_share -o subtype=vmhgfs-fuse,allow_other
5. 设置,使每次开机启动自动挂载共享文件夹
需要在文件 /etc/fstab 的末尾添加多一行:
.host:/kali2019_share /mnt/hgfs/kali2019_share fuse.vmhgfs-fuse allow_other 0 0
即可.
参考来自:https://blog.csdn.net/Kevinhanser/article/details/79451108