Samba配置
1 配置文件: /etc/samba
服务的重启,关闭等,注意中间是smb
service smb status
2 共享级别(share)配置。
Samba配置中,采用share模式,但就是不能访问,后来能访问了,但是不能新建文件夹,但能新建word等,但是不能打开;证明是selinux起作用了,关闭selinux,/etc/sysconfig/selinux文件中
#SELINUX = enforcing
SELINUX = disabled
重启系统生效,如果不想重启系统,使用命令setenforce 0
一个简单的配置事例
[global]
workgroup = mygroupcs
server string = samba server cs
security = share
[test]
comment = test resource
path = /test
guest ok = yes
writable = yes
public = yes
[cs]
comment = test cs
path = /home/cs
guset ok = yes
writable = yes
public = yes
上述配置,如何访问samba服务器?上述示例的操作步骤?
3 如何访问samba服务器
阅读(401) | 评论(0) | 转发(0) |