[samba]
sudo apt-get remove samba-commo
sudo apt-get install samba
sudo cp -f /etc/samba/smb.conf /etc/samba/smb.conf.v0
修改 /etc/samba/smb.conf 文件,在末尾添加:
myshare]
comment = share with win7
path = /home/fnie/workspace
browseable = yes
writable = yes
chmod +007 -R workspace/
sudo useradd smb_fnie
sudo smbpasswd -a smb_fnie
密码设置为: smb123
sudo service smbd restart
\\192.168.1.102
本文出自 “用C++写诗” 博客,谢绝转载!