linux 下 構建SMB文件服務器

參考鏈接
https://blog.csdn.net/Jack_Zhao_/article/details/88657682

以上文檔實戰驗證。
部署注意事項
1)關閉 SElinux ####遇到過沒有關閉selinux SMB服務啓動後文件丟失
2)關閉linux firewall 不關閉會導致打不開
[root@localhost ~]# cat /etc/samba/smb.conf



[global]
workgroup = SAMBA
security = user
map to guest = Bad User
log file = /var/log/samba/log.%m



[public]
comment = Public
path = /opt/shares
public = yes
read only = No



[root@localhost ~]# cd /opt/
[root@localhost opt]# ll
總用量 0
drwxr-xr-x 2 nobody nobody 44 1月 6 16:17 shares
[root@localhost opt]#



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