ubuntu 14.04 创建samba 共享目录
1.samba下载
sudo apt-get install smbfs
sudo apt-get install cifs-utils
2.创建共享目录
mkdir /home/youliang/share
sudo chmod 777 /home/youliang/share
3.修改配置文集
sudo gedit /etc/samba/smb.conf
在配置文件末尾
[share]
path = /home/youliang/share
available = yes
browsealbe = yes
public = yes
writable = yes
4.创建samba用户
sudo touch /etc/samba/smbpasswd
sudo smbpasswd -a youliang
5.重起samba服务器
sudo /etc/init.d/samba restart
阅读(1485) | 评论(0) | 转发(0) |