window 和 linux 共享文件夹

我的习惯写代码使用win,运行环境使用linux,一般使用 linux 挂载win 的共享目录,像这样:linux

mount -t cifs //192.168.36.1/www /mnt/www -o username=administrator,password=root,rw,dir_mode=0777,file_mode=0777

还有一种方式是 linux 运行samb 服务器,win 下能够使用 \192.168.36.1 方式访问:服务器

apt install samba
smbd

samba 配置 http://www.javashuo.com/article/p-vpuucoir-eu.html.net

相关文章
相关标签/搜索