1、第一步安装:sudo apt-get install samba
sudo apt-get install smbclient
可能会出现dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the PRoblem问题,
这里先按提示输入:dpkg --configure -a
然后使用:sudo apt-get update
sudo apt-get upgrade
即可解决
2、配置共享文件
sudo vi /etc/samba/smb.conf 编辑smb.conf 文件新闻热点
疑难解答