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.客戶端連接即可

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章