<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[张宴的博客]]></title> 
<link>http://zyan.cc/index.php</link> 
<description><![CDATA[Web系统架构与底层研发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[张宴的博客]]></copyright>
<item>
<link>http://zyan.cc/samba_linux_windows/</link>
<title><![CDATA[快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>张宴 &lt;net@s135.com&gt;</author>
<category><![CDATA[其他Unix技术]]></category>
<pubDate>Fri, 08 Apr 2011 00:53:45 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/</guid> 
<description>
<![CDATA[ 
	　　[文章作者：张宴 本文版本：v1.0 最后修改：2011.04.08 转载请注明原文链接：<a href="http://blog.zyan.cc/samba_linux_windows/" target="_blank">http://blog.zyan.cc/samba_linux_windows/</a>]<br/><br/>　　<strong>一、局域网内的 Linux 服务器上操作步骤：</strong><br/><br/>　　1、安装samba（CentOS Linux）：<br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">yum install samba system-config-samba samba-client samba-common</div><br/><br/>　　2、创建www账号<br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">/usr/sbin/groupadd www<br/>/usr/sbin/useradd -g www www<br/><br/>mkdir -p /data0/knose/<br/>chmod 777 /data0/knose/<br/><br/>mkdir -p /data0/htdocs/<br/>chown -R www:www /data0/htdocs/<br/>chmod 777 /data0/htdocs/<br/><br/>cat /etc/passwd &#124; mksmbpasswd.sh> /etc/samba/smbpasswd</div><br/><br/>　　3、创建samba配置文件<br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">mv -f /etc/samba/smb.conf /etc/samba/smb.conf.bak<br/>vi /etc/samba/smb.conf</div><br/>　　输入以下内容：<br/><div class="quote"><div class="quote-title">引用</div><div class="quote-content">[global]<br/>server string = Samba Server<br/>security = user<br/>encrypt passwords = yes <br/>smb passwd file = /etc/samba/smbpasswd<br/><br/>[knose]<br/>workgroup = root<br/>netbios name = root<br/>path = /data0/knose<br/>browseable = yes<br/>writeable = yes<br/><br/>[web]<br/>workgroup = www<br/>netbios name = www<br/>path = /data0/htdocs<br/>browseable = yes<br/>writeable = yes</div></div><br/><br/>　　4、为samba用户www、root设立一个密码：<br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">smbpasswd -a www<br/>smbpasswd -a root</div><br/><br/>　　5、启动samba：<br/><div style="border-left: 0px dashed #D6C094; margin: 5px; padding: 3px; margin-bottom:0px; border: 1px dashed #00a0c6; background-color: #ffffff;">/sbin/service smb start</div><br/><br/><hr/><br/>　　<strong>二、局域网内的 Windows 服务器上操作步骤：</strong><br/><br/>............<br/><br/>Tags - <a href="http://zyan.cc/tags/samba/" rel="tag">samba</a> , <a href="http://zyan.cc/tags/linux/" rel="tag">linux</a> , <a href="http://zyan.cc/tags/windows/" rel="tag">windows</a>
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8106</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>muxueqz &lt;zmy@linuxzh.org&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 08 Apr 2011 02:45:05 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8106</guid> 
<description>
<![CDATA[ 
	简单实用且常用。
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8107</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>TinTin &lt;tintincn@163.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 08 Apr 2011 02:47:07 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8107</guid> 
<description>
<![CDATA[ 
	哈哈，我们开发PHP就是这种模式
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8108</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>王伟 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 08 Apr 2011 02:49:53 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8108</guid> 
<description>
<![CDATA[ 
	我的网站出问题，很着急，，是APMServ5.2.0 +PHP，有高手看到，一定要回，，很着急，，谢谢。。张总如果可以希望您能帮我解决一下，，，，万分感谢~！！！ QQ：823890405&nbsp;&nbsp;如果来电就说找王伟，最好QQ，也会可以付费!!!!
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8110</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>muskycn &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 08 Apr 2011 09:22:13 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8110</guid> 
<description>
<![CDATA[ 
	我们也这么做，win下可以用批处理或者写个小软件，自动挂载和自动卸载更方便
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8111</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>huansinho &lt;huansinho@gmail.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Fri, 08 Apr 2011 14:45:29 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8111</guid> 
<description>
<![CDATA[ 
	哈哈~~我喜欢在虚拟机里面这样搞。
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8113</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>Todd &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 09 Apr 2011 01:27:33 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8113</guid> 
<description>
<![CDATA[ 
	&gt; cat /etc/passwd &#124; mksmbpasswd.sh&gt; /etc/samba/smbpasswd<br/><br/>mksmbpasswd.sh是什么？
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8118</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>多角位电浆抛光 &lt;1968679319@qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 09 Apr 2011 07:04:48 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8118</guid> 
<description>
<![CDATA[ 
	写的不错，一定要顶
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8119</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>zshtom &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 09 Apr 2011 10:39:17 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8119</guid> 
<description>
<![CDATA[ 
	还是推荐使用svn 作为团队开发的工具 用samba 还是会有一些问题
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8120</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>ylky_2000 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 09 Apr 2011 11:00:38 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8120</guid> 
<description>
<![CDATA[ 
	linux搭建文件服务器，然后在windows系统下映射过来，再通过vss进行管理。<br/>思路不错，但是为什么不直接把文件服务器安装在windows系统下，而绕一个这么大的弯弯？<br/>好玩？还是节约版权？ 莫非是为了跨平台而跨平台？
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8121</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>牛股吧 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sat, 09 Apr 2011 12:34:37 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8121</guid> 
<description>
<![CDATA[ 
	张宴的粉丝可真够多的。驾照应该已经拿到了吧。
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8133</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>nbco &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sun, 10 Apr 2011 01:26:24 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8133</guid> 
<description>
<![CDATA[ 
	http://www.nbco.com.cn 招商创业网
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8136</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>王伟 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sun, 10 Apr 2011 06:20:40 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8136</guid> 
<description>
<![CDATA[ 
	同志们我的网站已经好的，谢谢大家!!!
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8139</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>enjoy &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Sun, 10 Apr 2011 12:36:56 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8139</guid> 
<description>
<![CDATA[ 
	是挺好用的，但是这种情况下使用SVN，会产生各种各样奇怪的问题：（
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8140</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>大尾巴 &lt;daweiba@vip.qq.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 11 Apr 2011 02:06:44 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8140</guid> 
<description>
<![CDATA[ 
	chmod 777 <br/>不严谨的做法<br/>建议张大师看一下&nbsp;&nbsp;RHCE教程中的samba配置
]]>
</description>
</item><item>
<link>http://zyan.cc/samba_linux_windows/#blogcomment8141</link>
<title><![CDATA[[评论] 快速配置 Samba 将 Linux 目录映射为 Windows 驱动器，用于跨平台编程]]></title> 
<author>sky &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Mon, 11 Apr 2011 06:26:26 +0000</pubDate> 
<guid>http://zyan.cc/samba_linux_windows/#blogcomment8141</guid> 
<description>
<![CDATA[ 
	开发PHP也用这种方式，已经用很久了，不过看了以后还是要顶
]]>
</description>
</item>
</channel>
</rss>