安装程序并添加用户 sudo yum install samba samba-client samba-common sudo smbpasswd -a user修改/etc/samba/smb.conf文件workgroup = WORKGROUP [share] path = /home/share browseable = yes writable = yes valid usrs = user create mask = 644 directory mask = 770启动服务加入开机启动# systemctl enable smb # systemctl enable nmb # systemctl start smb # systemctl start nmb # firewall-cmd --permanent --add-service=samba # firewall-cmd --reload 测试smbclient -L hostname/IP
molezz
记录下那些感想