现在的位置: 首页 > 综合 > 正文

之前实习的时候在测试机上搭的samba服务器

2013年11月17日 ⁄ 综合 ⁄ 共 662字 ⁄ 字号 评论关闭

总结今天Samba+LAMP的配置

1安装samba

2安装好之后,创建目录,同时给目录nobody权限,chownnobody.nobody
目录名

3启动SambaService smbstart.

4检查是不是可以在samba中存取文件。

参照了下面的博文

http://blog.csdn.net/xht555/article/details/4631063

 

 

 

[global]

workgroup = ci123dev10

netbios name = ci123dev10

server string = ci123 develop Server 10

log file = /var/log/samba/%m.log

max log size = 2048000

security = share

load printers = no

printing = bsd

printcap name = /dev/null

disable spoolss = yes

use sendfile = no

create mask = 0777

force create mode = 0777

security mask = 0775

force security mode = 0775

 

[www]

comment = ci123 projects

path = /opt/ci123/www/html

browseable = yes

writeable = yes

public = yes

delete readonly = yes

 

[share]

comment = ci123 share

path = /opt/share

browseable = yes

writeable = yes

public = yes

抱歉!评论已关闭.