本文最后更新于 371 天前,其中的信息可能已经有所发展或是发生改变。
apt-get install samba
nano /etc/samba/smb.conf
在配置文件底下添加
[global]
dns proxy = No
map to guest = Bad User
netbios name = SMBSERVER
security = USER
server string = Samba Server %v
idmap config * : backend = tdb
[seed]
comment = seed
create mask = 0777
directory mask = 0777
guest ok = Yes
path = /home/zzh/hdd/pt/seed/
read only = No
systemctl restart smbd