linux & windows 共享 smbd 部署
smbd : yum install samba samba-client samba-swat
mount.cifs : yum -y install cifs-utils ##挂载nas 文件用的。
smdb部署
Smdb 配置: 添加 smbd 账号和密码: useradd klg smbpasswd -a klg 配置文件:vim /etc/samba/smb.conf [global] workgroup = WORKGROUP netbios name = LinuxSir05 server string = Linux Samba Server TestServer security = user #认真模式选择账号和密码格式 dns proxy = no [koala_and_ira] path = /data/koala_ira #共享名字和共享盘位置,该例子是先mount.cifs //192.168.1.130/koala_ira /data/ira/ 过来再 共享出去。 public = yes admin users = klg writable = yes create mask = 0750 directory mask = 0750 启动: systemctl start smb