Ubuntu16.04搭建samba服务器方法
1、操作系统的版本为Ubuntu 16.04 LTS 64位

2、安装samba使用命令
apt-get install samba

3、输入Y并回车继续安装

4、创建用户并设置密码
useradd share
smbpasswd -a share

5、编辑配置文件smb.conf
vi /etc/samba/smb.conf
在配置文件的最末尾加上:
[share]
comment = samba with web static server
path = /home/share
browseable = no
writable = yes
available = yes
admin users = share
valid users = share
public = no

6、重启samba服务
/etc/init.d/samba restart

7、配置客户端

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:75
阅读量:42
阅读量:95
阅读量:113
阅读量:22