实现VMware中的debian 9系统与Windows文件共享

1、下载apt-get install open-vm-tools
实现VMware中的debian 9系统与Windows文件共享_第1张图片
2、下载apt-get install open-vm-tools-dkms

实现VMware中的debian 9系统与Windows文件共享_第2张图片
3、创建共享的文件夹(可以不用创建,后面路径的选择直接选择要共享的文件即可)
例如:在这里插入图片描述

4、选择共享文件路径
虚拟机–>设置–>选项–>共享文件夹

实现VMware中的debian 9系统与Windows文件共享_第3张图片
实现VMware中的debian 9系统与Windows文件共享_第4张图片
实现VMware中的debian 9系统与Windows文件共享_第5张图片
实现VMware中的debian 9系统与Windows文件共享_第6张图片

5、查找文件

root@debian9:/mnt/hgfs/

实现VMware中的debian 9系统与Windows文件共享_第7张图片

6、文件复制
把share文件中其余四个文件移到file文件夹里面实现VMware中的debian 9系统与Windows文件共享_第8张图片

root@debian9:/mnt/hgfs# cp -r /mnt/hgfs/share/* /mnt/hgfs/file/

实现VMware中的debian 9系统与Windows文件共享_第9张图片

ps:vim在只读模式下修改文件
退出时输入这个指令:

:w  !sudo tee %

你可能感兴趣的:(实现VMware中的debian 9系统与Windows文件共享)