标签:available ubuntu 配置文件 share public
安装samba
sudo apt-get install samba samba-common
备份配置文件
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.bak
修改配置文件
[share]
path = /home/cloud/share
available = yes
browseable = yes
public = yes
writable = yes
guest ok = yes
创建用户:
sudo smbpasswd -a cloud
重启smbd服务
sudo /etc/init.d/smbd restart
创建共享目录
mkdir share
chmod 777 -R share/
标签:available ubuntu 配置文件 share public
原文地址:http://hezun.blog.51cto.com/1137078/1851336