用 Samba 服务器
https://my.oschina.net/u/3783115/blog/1919892?from=timeline
https://blog.51cto.com/13728740/2137366
有些不能联网,就在系统里搜一下
find / -name samba*
rpm -ivh xxx 安装
在 /etc/samba/smb.conf
[global] workgroup = SAMBA security = user passdb backend = tdbsam printing = cups printcap name = cups load printers = yes cups options = raw map to guest = Bad User [home] comment = My test path = /mnt/ public = yes browseable = yes writable = yes create mask = 0664 directory mask = 0775