Centos7搭建samba服务器

1. 下载samba

yum -y samba

2. 设置配置文件

vim /etc/samba/smb.conf
[share]
   comment = test
   browseable = yes
   path = /home/share
   available = yes
   public= no
   valid users = test
   writable = yes

3. 关闭防火墙

systemctl status firewalld.service 
systemctl stop firewalld.service

4.重启samba

systemctl start smb nmb
systemctl status smb nmb

5.客户端连接即可

 

 

你可能感兴趣的:(服务器配置,FAQ)