samba安装及使用

tech2026-06-10  14

1.查看当前机器是否已经安装samba:rpm -qa | grep samba

2.安装:yum install samba samba-client samba-swat 3.检查samba:service smb status

4.开启samba:service smb start

5.配置文件:vim /etc/samba/smb.conf

6.给用户添加samba:smbpasswd -a username  # 添加samb用户并设置密码

7.linux开启服务:python3 -m http.server 8869

最新回复(0)