[CentOS]安装并配置samba文件共享服务

1. 安装Samba yum install samba samba-client samba-common 2. 为samba添加用户,这里以root账户为例 # 添加账户 smbpasswd -a root 3. 修改配置文件 # 对原配置文件做一备份 mv /etc/samba/smb.conf /etc/samba/smb.conf.bak # 创建一个新的配置文件 nano /etc/samba/smb.conf 配置文件可以照如下修改,然后按 Ctrl+o 保存,Ctrl+x退出 [global] workgroup = WORKGROUP server string = Samba Server %v netbios name = centos security = user map to guest = bad user dns proxy = no...

Translate »