欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

samba使用总结

程序员文章站 2022-07-09 13:24:14
...
1、安装
   #rpm -qa | grep samba
   #yum install samba

2、配置
   cat /etc/samba/smb.conf
  
[global]
workgroup = workgroup
server string = samba server
security = user
map to guest = bad user

[resources]
comment = public stuff
path = /opt/share/resources
public = yes
only guest = yes
writable = yes
guest ok = yes

#[Porject]
#path = /opt/Porject
#public = no
#only guest = no
#writable = yes


3、启动
service smb start

4、加入开机自动启动
chkconfig --level 3 smb on