sudo apt install sambasudo apt install smbclientsudo smbpasswd -a pi //添加用户 需要设置密码sudo systemctl restart smbd