首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

samba使用小结

2013-09-16 
samba使用总结1、安装#rpm -qa | grep samba#yum install samba2、配置cat /etc/samba/smb.conf[global]work

samba使用总结
1、安装
   #rpm -qa | grep samba
   #yum install samba

2、配置
   cat /etc/samba/smb.conf
  

[global]workgroup = workgroupserver string = samba serversecurity = usermap to guest = bad user[resources]comment = public stuffpath = /opt/share/resourcespublic = yesonly guest = yeswritable = yesguest ok = yes#[Porject]#path = /opt/Porject#public = no#only guest = no#writable = yes


3、启动
service smb start

4、加入开机自动启动
chkconfig --level 3 smb oncat /etc/selinux/config# This file controls the state of SELinux on the system.# SELINUX= can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - SELinux prints warnings instead of enforcing.# disabled - SELinux is fully disabled.SELINUX=disabled

热点排行