我的电脑桌面的图表都打不开了
来源:百度知道 编辑:UC知道 时间:2024/09/22 07:42:54
前提是不能格式化其他盘,,,但我也杀了毒的
主配置文件:
/etc/samba/smb.conf
#=================== Global Settings===============
[global]部分设置,主要就是下列几项,其余可以保持不变,当然你要比较复杂高级的功能服务的话,那就另当别论了;
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MSHOME #主机所属工作组名称
# server string is the equivalent of the NT Description field
server string = Samba Server #SAMBA服务器主机的注释,可选,但是建议还是留着,而且尽量写的详细准确,有助于识别;
# Security mode. Most people will want user level security. See security_level.txt for details.
security = share #安全模式,由于是共享目录,所以用share;
#==================== Share Definitions ==========
共享部分设置其它保存不动,直接在最后面添加你要共享的目录即可,同时要注意其访问权限;
[nfs]
path = /var/nfs
public = yes
writable = yes
/var/nfs目录对所有用户都可读可写;
四、启动服务
通过以上简单的设置,重启服务后,即可在Windows下在网上邻居中进行访问;
在FC5下,服务名为smb及nmb,启动smb时自动将nmb也启动;
五、注意事项
1、防火