ubuntu安装samba
1 自动安装 samba
#sudo apt-get install samba
#sudo apt-get install smbclient
2 增加共享文件夹
在文件/etc/samba/smb.conf结尾添加如下行:
[workroom]
comment=this is Linux share directory
path=/home/mao/disk1/workroom
public=yes
writable=yes
参考 Ubuntu下Samba服务器的搭建 http://apps.hi.baidu.com/share/detail/31035795