ubuntu1604 安装samba
sudo apt-get install samba
更改/etc/samba/smb.conf添加[share]comment = sharepath = /home/zmwritable = yesvalid users = zm
添加samba用户sudo adduser zm
重启服务sudo systemctl restart smbd