1.什么是samba
Samba是linux和unix系统上实现SMB/CIFS(Common Internet File System即公共 Internet 文件系统协议) 的一个免费软件,由服务器和客户端程序构成
samba服务端口
TCP: 139(提供通信会话端口)
TCP: 445(CIFS协议端口)
UDP: 137、 138(提供名称解析端口
环境配置
server 192.168.22.113
client 192.168.22.134
#systemctl stop firewalld 关闭防火墙
#vim /etc/selinux/config 改成 SELINUX=disabled 关闭selinux
查看selinux的状态
# getenforce
永久关闭,重启生效
# systemctl disable firewalld
server端配置<