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