总结今天Samba+LAMP的配置
1安装samba
2安装好之后,创建目录,同时给目录nobody权限,chownnobody.nobody
目录名
3启动Samba,Service 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