在centos8.5安装samba

yum install -y samba --nobest

vim /etc/samba/smb.conf
[root]
comment = share
path = /root
public = no
writable = yes
guest ok = yes

systemctl enable smb 开机启动
systemctl start smb 开启

smbpasswd -a root

你可能感兴趣的:(centos笔记,linux,运维,服务器)