标签:
1.安装samba
apt-get install samba
2.vim /etc/samba/smb.conf
紧随workgroup = WORKGROUP,添加
security = user
3.在文件结尾添加如下行
[share]
path = /media/ihibin/数据
available = yes
browseable = yes
public = yes
writable = yes
guest ok = yes
4.使用命令测试
sudo smbclient -L //localhost/wwwroot
5.在Windows 7文件浏览器访问
\\192.168.1.101\share
参考:http://www.xitongzhijia.net/xtjc/20150611/50641.html
标签:
原文地址:http://www.cnblogs.com/ihibin/p/5178452.html