<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>榆树网</title>
	<atom:link href="http://www.wenzk.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wenzk.com</link>
	<description>http://www.wenzk.com</description>
	<lastBuildDate>Mon, 05 Mar 2012 15:20:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>如何通过OpenSSH建立VPN</title>
		<link>http://www.wenzk.com/archives/1542</link>
		<comments>http://www.wenzk.com/archives/1542#comments</comments>
		<pubDate>Mon, 05 Mar 2012 15:20:40 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-系统]]></category>
		<category><![CDATA[榆树网-网络]]></category>
		<category><![CDATA[OpenSSH]]></category>
		<category><![CDATA[Socks]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[端口转发]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1542</guid>
		<description><![CDATA[在网络有很多文章介绍如何通过ssh建立隧道，其实大部分都是介绍：tcp端口转发、及Socks代理等，而这个文章介绍的是如何通过openssh创建三层的VPN隧道，详见：http://www.debian-administration.org/articles/539 大家看原文吧，应该很好理解的。 相关文章CentOS下如何建立IP in IP隧道 (0)Using SSH ControlMaster for Single Sign-On (0)SSHFS for Windows &#8212; *nix与Windows文件共享的一种方式 (0)解决SSH X11-Forwarding无法工作 (0)Guide: OpenVPN with Windows 7 (0)]]></description>
			<content:encoded><![CDATA[<p>在网络有很多文章介绍如何通过ssh建立隧道，其实大部分都是介绍：tcp端口转发、及Socks代理等，而这个文章介绍的是如何通过openssh创建三层的VPN隧道，详见：<a href="http://www.debian-administration.org/articles/539" target="_blank">http://www.debian-administration.org/articles/539</a></p>
<p>大家看原文吧，应该很好理解的。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1254" title="CentOS下如何建立IP in IP隧道">CentOS下如何建立IP in IP隧道</a> (0)</li><li><a href="http://www.wenzk.com/archives/1089" title="Using SSH ControlMaster for Single Sign-On">Using SSH ControlMaster for Single Sign-On</a> (0)</li><li><a href="http://www.wenzk.com/archives/894" title="SSHFS for Windows &#8212; *nix与Windows文件共享的一种方式">SSHFS for Windows &#8212; *nix与Windows文件共享的一种方式</a> (0)</li><li><a href="http://www.wenzk.com/archives/888" title="解决SSH X11-Forwarding无法工作">解决SSH X11-Forwarding无法工作</a> (0)</li><li><a href="http://www.wenzk.com/archives/503" title="Guide: OpenVPN with Windows 7">Guide: OpenVPN with Windows 7</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1542/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zimbra如何启用IPv6</title>
		<link>http://www.wenzk.com/archives/1535</link>
		<comments>http://www.wenzk.com/archives/1535#comments</comments>
		<pubDate>Fri, 24 Feb 2012 12:41:40 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-系统]]></category>
		<category><![CDATA[榆树网-网络]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Postfox]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1535</guid>
		<description><![CDATA[参见：http://wiki.zimbra.com/index.php?title=Configuring_for_IP_V6 但是，似乎官方的wiki有点问题，完全参照wiki无法正常启用IPv6。 官方说：This is controlled via zmlocalconfig key zimbraIPMode which can have the value of both for IPv4 and IPv6 operation or ipv6 for IPv6 only operation on the edge node. 但是通过 zmlocalconfig -s 却看不到这个参数。 具体设置方法： 通过 telnet ::1 smtp 看看效果。 相关文章将 Zimbra Desktop 设为默认电子邮件程序 (0)zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED (0)为什么不能用Outlook、Foxmail收取Zimbra的邮件 (0)Zimbra如何支持SPF、DCC及Razor (0)Zimbra如何启用DSPAM (0)]]></description>
			<content:encoded><![CDATA[<p>参见：<a href="http://wiki.zimbra.com/index.php?title=Configuring_for_IP_V6" target="_blank">http://wiki.zimbra.com/index.php?title=Configuring_for_IP_V6</a></p>
<p>但是，似乎官方的wiki有点问题，完全参照wiki无法正常启用IPv6。</p>
<p>官方说：This is controlled via zmlocalconfig key <strong>zimbraIPMode</strong> which can have the value of <strong>both</strong> for IPv4 and IPv6 operation or <strong>ipv6</strong> for IPv6 only operation on the edge node.</p>
<p>但是通过 zmlocalconfig -s 却看不到这个参数。</p>
<p>具体设置方法：</p>
<pre class="brush: plain; title: ; notranslate">
zmprov ms edge.example.com zimbraIPMode both
zmprov ms edge.example.com zimbraMtaMyNetworks &quot;127.0.0.0/8 [::1]/128 x.x.x.x/x [xxxx:xxxx:xxxx::x]/x&quot;
zmcontrol stop
zmcontrol start</pre>
<p>通过 telnet ::1 smtp 看看效果。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1509" title="将 Zimbra Desktop 设为默认电子邮件程序">将 Zimbra Desktop 设为默认电子邮件程序</a> (0)</li><li><a href="http://www.wenzk.com/archives/1501" title="zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED">zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED</a> (0)</li><li><a href="http://www.wenzk.com/archives/1477" title="为什么不能用Outlook、Foxmail收取Zimbra的邮件">为什么不能用Outlook、Foxmail收取Zimbra的邮件</a> (0)</li><li><a href="http://www.wenzk.com/archives/1451" title="Zimbra如何支持SPF、DCC及Razor">Zimbra如何支持SPF、DCC及Razor</a> (0)</li><li><a href="http://www.wenzk.com/archives/1449" title="Zimbra如何启用DSPAM">Zimbra如何启用DSPAM</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1535/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何在CentOS下使用Bash Completion功能</title>
		<link>http://www.wenzk.com/archives/1527</link>
		<comments>http://www.wenzk.com/archives/1527#comments</comments>
		<pubDate>Wed, 22 Feb 2012 12:14:44 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-系统]]></category>
		<category><![CDATA[精彩]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[自动补全]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1527</guid>
		<description><![CDATA[用过Debian或Ubuntu的用户或许都习惯了其命令行的补全功能，其实在CentOS下也可使实现，只是需要安装bash-completion这个包而已，具体提安装方法： 在需要启用该用能的用户下的 ~/.bashrc 里增加 如果需要全局开启，请在/etc/profile文件中增加 如果是CentOS 6，在RPMForge这个repo里有这个软件包，只需执行 重新登陆就可以用了。 好了，看看效果，下图是输入 find -[TAB] 和 service [TAB]的效果。 相关文章新安装Cacti遇到的几个问题 (0)Linux PPPoE拨号频繁掉线问题 (0)Linux下如何使用tar进行整系统备份["Ghost"] (0)如何为逻辑卷创建镜像 (0)LVM在线更换物理硬盘 (0)]]></description>
			<content:encoded><![CDATA[<p>用过Debian或Ubuntu的用户或许都习惯了其命令行的补全功能，其实在CentOS下也可使实现，只是需要安装bash-completion这个包而已，具体提安装方法：</p>
<pre class="brush: plain; title: ; notranslate">rpm -ivh http://www.caliban.org/files/redhat/RPMS/noarch/bash-completion-20060301-1.noarch.rpm</pre>
<p>在需要启用该用能的用户下的 ~/.bashrc 里增加</p>
<pre class="brush: plain; title: ; notranslate">. /etc/bash_completion</pre>
<p>如果需要全局开启，请在/etc/profile文件中增加</p>
<pre class="brush: plain; title: ; notranslate">. /etc/bash_completion</pre>
<p>如果是CentOS 6，在RPMForge这个repo里有这个软件包，只需执行</p>
<pre class="brush: plain; title: ; notranslate">yum install bash-completion</pre>
<p>重新登陆就可以用了。</p>
<p>好了，看看效果，下图是输入 find -[TAB] 和 service [TAB]的效果。</pre>
<p><a href="http://www.wenzk.com/wp-content/uploads/2012/02/centos-bash-completion.png" class="highslide-image" onclick="return hs.expand(this);"><img class="alignnone size-full wp-image-1528" title="centos-bash-completion" src="http://www.wenzk.com/wp-content/uploads/2012/02/centos-bash-completion.png" alt="" width="595" height="400" /></a></p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1516" title="新安装Cacti遇到的几个问题">新安装Cacti遇到的几个问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/1481" title="Linux PPPoE拨号频繁掉线问题">Linux PPPoE拨号频繁掉线问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/1469" title="Linux下如何使用tar进行整系统备份["Ghost"]">Linux下如何使用tar进行整系统备份["Ghost"]</a> (0)</li><li><a href="http://www.wenzk.com/archives/1464" title="如何为逻辑卷创建镜像">如何为逻辑卷创建镜像</a> (0)</li><li><a href="http://www.wenzk.com/archives/1461" title="LVM在线更换物理硬盘">LVM在线更换物理硬盘</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1527/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决：sysvinit-2.88-r3 is blocking util-linux-2.20问题</title>
		<link>http://www.wenzk.com/archives/1524</link>
		<comments>http://www.wenzk.com/archives/1524#comments</comments>
		<pubDate>Wed, 22 Feb 2012 02:24:14 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-系统]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[升级]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1524</guid>
		<description><![CDATA[使用emerge升级的时候提示： 解决办法： 相关文章如何在CentOS下使用Bash Completion功能 (0)新安装Cacti遇到的几个问题 (0)Linux PPPoE拨号频繁掉线问题 (0)Linux下如何使用tar进行整系统备份["Ghost"] (0)Linux下如何整系统备份/恢复 (0)]]></description>
			<content:encoded><![CDATA[<p>使用emerge升级的时候提示：</p>
<pre class="brush: plain; title: ; notranslate">[ebuild     U  ] sys-apps/util-linux-2.20.1-r1 [2.19.1-r1] USE=&quot;cramfs crypt ncurses nls unicode -ddate% -loop-aes -old-linux -perl (-selinux) -slang -static-libs% (-uclibc)&quot; 4,507 kB
[blocks B      ] &lt;sys-apps/sysvinit-2.88-r3 (&quot;&lt;sys-apps/sysvinit-2.88-r3&quot; is blocking sys-apps/util-linux-2.20.1-r1)</pre>
<p>解决办法：</p>
<pre class="brush: plain; title: ; notranslate">emerge --update sys-apps/sysvinit sys-apps/util-linux</pre>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1527" title="如何在CentOS下使用Bash Completion功能">如何在CentOS下使用Bash Completion功能</a> (0)</li><li><a href="http://www.wenzk.com/archives/1516" title="新安装Cacti遇到的几个问题">新安装Cacti遇到的几个问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/1481" title="Linux PPPoE拨号频繁掉线问题">Linux PPPoE拨号频繁掉线问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/1469" title="Linux下如何使用tar进行整系统备份["Ghost"]">Linux下如何使用tar进行整系统备份["Ghost"]</a> (0)</li><li><a href="http://www.wenzk.com/archives/1467" title="Linux下如何整系统备份/恢复">Linux下如何整系统备份/恢复</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1524/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox扩展：Wappalyzer</title>
		<link>http://www.wenzk.com/archives/1519</link>
		<comments>http://www.wenzk.com/archives/1519#comments</comments>
		<pubDate>Thu, 09 Feb 2012 07:57:28 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-杂项]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[扩展]]></category>
		<category><![CDATA[插件]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1519</guid>
		<description><![CDATA[以前安装过，重装系统忘记名称了，没想到Chrome下类似的扩展Chrome sniffer比它名气大多了。 可以帮助开发者检查网页正在使用的CMS框架和javascript库的情况，在检测到框架时，地址栏会出现一个图标。 相关文章将Firefox更新至3.6 Beta 3 (0)如何让你的Chrome支持插件？ (0)Chrome也支持插件了 (0)Firefox 7.0已经在beta更新通道推送了 (0)Firefox的Hostname in Titlebar与Nightly Tester Tools冲突 (0)]]></description>
			<content:encoded><![CDATA[<p>以前安装过，重装系统忘记名称了，没想到Chrome下类似的扩展Chrome sniffer比它名气大多了。<br />
可以帮助开发者检查网页正在使用的CMS框架和javascript库的情况，在检测到框架时，地址栏会出现一个图标。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/450" title="将Firefox更新至3.6 Beta 3">将Firefox更新至3.6 Beta 3</a> (0)</li><li><a href="http://www.wenzk.com/archives/301" title="如何让你的Chrome支持插件？">如何让你的Chrome支持插件？</a> (0)</li><li><a href="http://www.wenzk.com/archives/298" title="Chrome也支持插件了">Chrome也支持插件了</a> (0)</li><li><a href="http://www.wenzk.com/archives/1308" title="Firefox 7.0已经在beta更新通道推送了">Firefox 7.0已经在beta更新通道推送了</a> (0)</li><li><a href="http://www.wenzk.com/archives/1154" title="Firefox的Hostname in Titlebar与Nightly Tester Tools冲突">Firefox的Hostname in Titlebar与Nightly Tester Tools冲突</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1519/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>新安装Cacti遇到的几个问题</title>
		<link>http://www.wenzk.com/archives/1516</link>
		<comments>http://www.wenzk.com/archives/1516#comments</comments>
		<pubDate>Wed, 08 Feb 2012 06:22:03 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-系统]]></category>
		<category><![CDATA[榆树网-网络]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MRTG]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1516</guid>
		<description><![CDATA[在CentOS 6下通过yum安装的，前提先安装RPMForge这个yum源。 1、最大流量100多M的问题。只需使用SNMPv2及读取64位的计数器即可。 2、最大流量800多M的问题。在新版本的Cacti中不存在这个问题（0.8.7i），通过rrdtool info查看rrd文件可以看到，1G接口和10G接口的最大值不再是同一个数值了，程序根据接口的最大速率调整了最大值。这个改进还是很有意义的。 3、Cacti索引华为、H3C设备由于接口名称过长，导致在最终显示的图中无法显示接口的需要，如只显示：Switch &#8211; Traffic &#8211; Ten-GigabitEthernet，由于华为、H3C使用接口全称（思科用Gi缩写，所以够用）。解决办法：到控制台的 Setting -> Visual -> Data Queries -> Maximum Field Length 默认值 15，修改成 30 或更大即可。 如果已经生成了图像，只需在Graph Management中打开存在问题的图像，然后保存即可。 4、如果让用户不需要登录即可查看流量情况：Setting -> Authentication -> Special Users -> Guest User 默认为 NoUser，改成 guest；然后在用户管理将guest用户使能，默认是禁用的。 相关文章如何在CentOS下使用Bash Completion功能 (0)Weathermap如何使用Zabbix作为数据源 (0)Linux PPPoE拨号频繁掉线问题 (0)Linux下如何使用tar进行整系统备份["Ghost"] (0)如何为逻辑卷创建镜像 (0)]]></description>
			<content:encoded><![CDATA[<p>在CentOS 6下通过yum安装的，前提先安装RPMForge这个yum源。</p>
<p>1、最大流量100多M的问题。只需使用SNMPv2及读取64位的计数器即可。</p>
<p>2、最大流量800多M的问题。在新版本的Cacti中不存在这个问题（0.8.7i），通过rrdtool info查看rrd文件可以看到，1G接口和10G接口的最大值不再是同一个数值了，程序根据接口的最大速率调整了最大值。这个改进还是很有意义的。</p>
<p>3、Cacti索引华为、H3C设备由于接口名称过长，导致在最终显示的图中无法显示接口的需要，如只显示：Switch &#8211; Traffic &#8211; Ten-GigabitEthernet，由于华为、H3C使用接口全称（思科用Gi缩写，所以够用）。解决办法：到控制台的 Setting -> Visual -> Data Queries -> Maximum Field Length 默认值 15，修改成 30 或更大即可。 如果已经生成了图像，只需在Graph Management中打开存在问题的图像，然后保存即可。</p>
<p>4、如果让用户不需要登录即可查看流量情况：Setting -> Authentication -> Special Users -> Guest User 默认为 NoUser，改成 guest；然后在用户管理将guest用户使能，默认是禁用的。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1527" title="如何在CentOS下使用Bash Completion功能">如何在CentOS下使用Bash Completion功能</a> (0)</li><li><a href="http://www.wenzk.com/archives/1499" title="Weathermap如何使用Zabbix作为数据源">Weathermap如何使用Zabbix作为数据源</a> (0)</li><li><a href="http://www.wenzk.com/archives/1481" title="Linux PPPoE拨号频繁掉线问题">Linux PPPoE拨号频繁掉线问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/1469" title="Linux下如何使用tar进行整系统备份["Ghost"]">Linux下如何使用tar进行整系统备份["Ghost"]</a> (0)</li><li><a href="http://www.wenzk.com/archives/1464" title="如何为逻辑卷创建镜像">如何为逻辑卷创建镜像</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1516/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>将 Zimbra Desktop 设为默认电子邮件程序</title>
		<link>http://www.wenzk.com/archives/1509</link>
		<comments>http://www.wenzk.com/archives/1509#comments</comments>
		<pubDate>Sun, 29 Jan 2012 15:03:13 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-杂项]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[Zimbra Desktop]]></category>
		<category><![CDATA[电子邮件]]></category>
		<category><![CDATA[默认电子邮件]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1509</guid>
		<description><![CDATA[在浏览器或其他应用程序中，当您单击一个电子邮件链接时，打开的是计算机上默认的电子邮件程序。 您可将 Zimbra Desktop 设为主要的应用程序。当在其他程序中单击电子邮件链接时，Zimbra Desktop 中的默认帐户的写信窗口随即打开。 要设置默认电子邮件程序： 1、选择首选项-常规。 2、在其他部分中，对于系统默认值，勾选将 Zimbra Desktop 设为默认的邮件应用程序复选框。 3、重启Zimbra Desktop程序。 相关文章OutLook如何使用Zimbra LDAP提供的地址簿 (0)Zimbra如何启用IPv6 (0)zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED (0)为什么不能用Outlook、Foxmail收取Zimbra的邮件 (0)Zimbra如何支持SPF、DCC及Razor (0)]]></description>
			<content:encoded><![CDATA[<p>在浏览器或其他应用程序中，当您单击一个电子邮件链接时，打开的是计算机上默认的电子邮件程序。<br />
您可将 Zimbra Desktop 设为主要的应用程序。当在其他程序中单击电子邮件链接时，Zimbra Desktop 中的默认帐户的写信窗口随即打开。<br />
要设置默认电子邮件程序：<br />
    1、选择<strong>首选项</strong>-<strong>常规</strong>。<br />
    2、在<strong>其他</strong>部分中，对于<strong>系统默认值</strong>，勾选<strong>将 Zimbra Desktop 设为默认的邮件应用程序</strong>复选框。<br />
    3、重启Zimbra Desktop程序。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1407" title="OutLook如何使用Zimbra LDAP提供的地址簿">OutLook如何使用Zimbra LDAP提供的地址簿</a> (0)</li><li><a href="http://www.wenzk.com/archives/1535" title="Zimbra如何启用IPv6">Zimbra如何启用IPv6</a> (0)</li><li><a href="http://www.wenzk.com/archives/1501" title="zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED">zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED</a> (0)</li><li><a href="http://www.wenzk.com/archives/1477" title="为什么不能用Outlook、Foxmail收取Zimbra的邮件">为什么不能用Outlook、Foxmail收取Zimbra的邮件</a> (0)</li><li><a href="http://www.wenzk.com/archives/1451" title="Zimbra如何支持SPF、DCC及Razor">Zimbra如何支持SPF、DCC及Razor</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1509/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决smbclient与Windows 7之间的共享问题</title>
		<link>http://www.wenzk.com/archives/1506</link>
		<comments>http://www.wenzk.com/archives/1506#comments</comments>
		<pubDate>Fri, 20 Jan 2012 16:09:26 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-杂项]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[smbclient]]></category>
		<category><![CDATA[Win7]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[共享]]></category>
		<category><![CDATA[网上邻居]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1506</guid>
		<description><![CDATA[由于备份数据的需求，所以需要通过使用smbclient访问win7，起初只是遇到无法访问 C$ 一类共享问题，可以通过： 如何使windows7的默认共享可以被访问 来解决，使用windows也不是每次都那么幸运。 今天在处理smbclient与win7共享问题的时候，却遇到了一个更头疼的问题，却总是提示“session setup failed: SUCCESS &#8211; 0”，试过了很多办法，都是google的，但是仍然未成功，最终还是通过 [ubuntu] Sharing Files and Folders with Windows 7 文中多人提到卸载“windows live sign-in assistant”后就正常了，于是我也卸载了Windows Live相关的程序，果真成功了。 之前还做了一些操作，不知道对成功是否有影响，如果卸载后仍然不好使，尝试修改这些注册表。 之后还参考了这个 做完这些操作后，删除windows live sign-in assistant就可以访问了。 相关文章如何使windows7的默认共享可以被访问[转载] (0)IOBlazer-跨平台的IO压力测试程序 (0)Windows下循环启动VLC的脚本 (0)Windows下VLC状态检查脚本 (0)让Windows XP自动登录的两种方法 (0)]]></description>
			<content:encoded><![CDATA[<p>由于备份数据的需求，所以需要通过使用smbclient访问win7，起初只是遇到无法访问 C$ 一类共享问题，可以通过： <a href="http://www.wenzk.com/archives/1131" target="_blank">如何使windows7的默认共享可以被访问</a> 来解决，使用windows也不是每次都那么幸运。<br />
<span id="more-1506"></span><br />
今天在处理smbclient与win7共享问题的时候，却遇到了一个更头疼的问题，却总是提示“session setup failed: SUCCESS &#8211; 0”，试过了很多办法，都是google的，但是仍然未成功，最终还是通过 <a href="http://ubuntuforums.org/archive/index.php/t-1273419.html" target="_blank">[ubuntu] Sharing Files and Folders with Windows 7</a> 文中多人提到卸载“windows live sign-in assistant”后就正常了，于是我也卸载了Windows Live相关的程序，果真成功了。</p>
<p>之前还做了一些操作，不知道对成功是否有影响，如果卸载后仍然不好使，尝试修改这些注册表。</p>
<pre class="brush: plain; title: ; notranslate">HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
&quot;LmCompatibilityLevel&quot;=dword:1         -allow older Lan manager style messages
&quot;NoLmHash&quot;=dword:0                       -store the older, less secure Lan Manager encrypted password

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Netlogon\Parameters
&quot;AllowNT4Crypto&quot;=dword:1                -allow less secure encrypted passwords (intermediate keys must be created)

HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
&quot;RequireSecuritySignature&quot;=dword:0   -don't require new message signatures
This value may have already existed, I don't remember</pre>
<p>之后还参考了这个</p>
<pre class="brush: plain; title: ; notranslate">1) in hklm\system\currentcontrolset\control\lsa, created LmCompatibilityLevel = dword &quot;1&quot;, changed NoLmHash from &quot;0&quot; to &quot;1&quot;
2) in hklm\software\policies\microsoft created key netlogon
    in hklm\software\policies\microsoft\netlogon created key Paramaters
    in hklm\software\policies\microsoft\netlogon\paramaters created AllowNT4Crypto = dword &quot;1&quot;
3) in hklm\system\currentcontrolset\services\netlogon\paramaters created AllowNT4Crypto = dword &quot;1&quot;
4) in hklm\system\currentcontrolset\services\lanmanserver\paramaters requiresecuritysignature was already = dword &quot;0&quot;</pre>
<p>做完这些操作后，删除windows live sign-in assistant就可以访问了。</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1131" title="如何使windows7的默认共享可以被访问[转载]">如何使windows7的默认共享可以被访问[转载]</a> (0)</li><li><a href="http://www.wenzk.com/archives/1443" title="IOBlazer-跨平台的IO压力测试程序">IOBlazer-跨平台的IO压力测试程序</a> (0)</li><li><a href="http://www.wenzk.com/archives/940" title="Windows下循环启动VLC的脚本">Windows下循环启动VLC的脚本</a> (0)</li><li><a href="http://www.wenzk.com/archives/938" title="Windows下VLC状态检查脚本">Windows下VLC状态检查脚本</a> (0)</li><li><a href="http://www.wenzk.com/archives/891" title="让Windows XP自动登录的两种方法">让Windows XP自动登录的两种方法</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1506/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zmmailbox导入邮件提示：Code:zclient.UPLOAD_SIZE_LIMIT_EXCEEDED</title>
		<link>http://www.wenzk.com/archives/1501</link>
		<comments>http://www.wenzk.com/archives/1501#comments</comments>
		<pubDate>Mon, 16 Jan 2012 05:14:47 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-杂项]]></category>
		<category><![CDATA[Maildir]]></category>
		<category><![CDATA[Zimbra]]></category>
		<category><![CDATA[导入邮件]]></category>
		<category><![CDATA[迁移]]></category>
		<category><![CDATA[邮件]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1501</guid>
		<description><![CDATA[解决办法： 相关文章如何将Maildir邮件导入到Zimbra中 (0)如何让Zimbra支持https (0)Zimbra如何启用IM插件 (0)Zimbra如何启用IPv6 (0)将 Zimbra Desktop 设为默认电子邮件程序 (0)]]></description>
			<content:encoded><![CDATA[<p>解决办法：</p>
<pre class="brush: plain; title: ; notranslate">su - zimbra
 zmprov gacf | grep zimbraFileUploadMaxSize
 zmprov gacf | grep zimbraMtaMaxMessageSize

 zmprov mcf zimbraFileUploadMaxSize xxxxxxxx
 zmprov mcf zimbraMtaMaxMessageSize xxxxxxx</pre>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1398" title="如何将Maildir邮件导入到Zimbra中">如何将Maildir邮件导入到Zimbra中</a> (0)</li><li><a href="http://www.wenzk.com/archives/1185" title="如何让Zimbra支持https">如何让Zimbra支持https</a> (0)</li><li><a href="http://www.wenzk.com/archives/1182" title="Zimbra如何启用IM插件">Zimbra如何启用IM插件</a> (0)</li><li><a href="http://www.wenzk.com/archives/1535" title="Zimbra如何启用IPv6">Zimbra如何启用IPv6</a> (0)</li><li><a href="http://www.wenzk.com/archives/1509" title="将 Zimbra Desktop 设为默认电子邮件程序">将 Zimbra Desktop 设为默认电子邮件程序</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1501/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weathermap如何使用Zabbix作为数据源</title>
		<link>http://www.wenzk.com/archives/1499</link>
		<comments>http://www.wenzk.com/archives/1499#comments</comments>
		<pubDate>Fri, 13 Jan 2012 01:08:37 +0000</pubDate>
		<dc:creator>ELM</dc:creator>
				<category><![CDATA[榆树网-杂项]]></category>
		<category><![CDATA[榆树网-网络]]></category>
		<category><![CDATA[Cacti]]></category>
		<category><![CDATA[MRTG]]></category>
		<category><![CDATA[RRD]]></category>
		<category><![CDATA[RRDtools]]></category>
		<category><![CDATA[WeatherMap]]></category>
		<category><![CDATA[zabbix]]></category>

		<guid isPermaLink="false">http://www.wenzk.com/?p=1499</guid>
		<description><![CDATA[I&#8217;ve started playing around with it and after some tinkering, I have a working weathermap. This adds an excellent visualization tool to ZABBIX, especially for complex networks. A very quick HOWTO: 1) Install php-weathermap somewhere. 2) Read the fine manual 3) Create a weathermap of the hosts you want to monitor. 4) Configure WeatherMapDataSource_zabbix.php (and [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started playing around with it and after some tinkering, I have a working weathermap. This adds an excellent visualization tool to ZABBIX, especially for complex networks.</p>
<p>A very quick HOWTO:<span id="more-1499"></span></p>
<p>1) Install php-weathermap somewhere.<br />
2) Read the fine manual<br />
3) Create a weathermap of the hosts you want to monitor.<br />
4) Configure WeatherMapDataSource_zabbix.php (and put it in the right place at weathermap/lib/datasources &#8211; not in the ZABBIX directory).<br />
5) To get the id&#8217;s of the Items to put in the map, I&#8217;ve named all my traffic Items “Traffic&#8230;” so I ran the following MySQL query:</p>
<p>SELECT * FROM items i where description LIKE &#8216;Traffic%&#8217;;</p>
<p>this gets me the itemid I need to put into the weathermap configuration file. Note that I got error messages around lines 44 and 45 of the php file because my root MySQL user has a password. I guess these are for debugging purposes. I&#8217;ve also hardcoded the host, username and password of the database at around line 52 and hardcoded the datbase name at line 54. The variables didn&#8217;t seem to work. Also note that the Items must be Integers or the script won&#8217;t work.</p>
<p>6) Create the weathermap using “php ./weathermap &#8211;config mymap.conf”<br />
7) Enjoy<br />
8) If you want your map to auto-update itself, create a cron job or a Windows Scheduled Task to run the command at step 6)</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
// Zabbix Pluggable datasource for PHP Weathermap 0.9
// - read a pair of values from a database, and return it
// Actually the plugin look only in history_uint table
// TARGET zabbix:in:out

class WeatherMapDataSource_zabbix extends WeatherMapDataSource {

        function Init(&amp;$map)
        {
                if(! function_exists(&quot;mysql_real_escape_string&quot;) ) return FALSE;
                if(! function_exists(&quot;mysql_connect&quot;) ) return FALSE;

                return(TRUE);
        }

        function Recognise($targetstring)
        {

         if(preg_match(&quot;/^zabbix:([\-a-zA-Z0-9_]+):([\-a-zA-Z0-9_]+)$/&quot;,$targetstring,$matches))

                {
                        return TRUE;
                }
                else
                {
                        return FALSE;
                }
        }

        function ReadData($targetstring, &amp;$map, &amp;$item)
        {
                $data[IN] = NULL;
                $data[OUT] = NULL;
                $data_time = 0;

                if(preg_match(&quot;/^zabbix:([\-a-zA-Z0-9_]+):([\-a-zA-Z0-9_]+)$/&quot;,$targetstring,$matches))
                {
                        $database_user = $map-&gt;get_hint('zabbix_dbuser');
                        $database_pass = $map-&gt;get_hint('zabbix_dbpass');
                        $database_name = $map-&gt;get_hint('zabbix_dbname');
                        $database_host = $map-&gt;get_hint('zabbix_dbhost');

                        $raw_in = mysql_real_escape_string($matches[1]);
                        $raw_out= mysql_real_escape_string($matches[2]);

                        debug (&quot;Found for IN Value :  $raw_in \n&quot;);
                        debug (&quot;Found for OUT Value :  $raw_out \n&quot;);

                        $SQL_IN = &quot;select value from history_uint where itemid=$raw_in order by clock desc limit 1&quot;;
                        $SQL_OUT = &quot;select value,clock from history_uint where itemid=$raw_out order by clock desc limit 1&quot;;
                        if(mysql_connect($database_host,$database_user,$database_pass))
                        {
                                if(mysql_select_db($database_name))
                                {
                                        $result_IN = mysql_query($SQL_IN);
                                        if (!$result_IN)
                                        {
                                            warn(&quot;Zabbix ReadData: Invalid query for IN Value: &quot; . mysql_error().&quot;\n&quot;);
                                        }
                                        else
                                        {
                                                $row_IN = mysql_fetch_assoc($result_IN);
                                                $data[IN] = $row_IN['value'];
                                        }
                                        $result_OUT = mysql_query($SQL_OUT);
                                        if (!$result_OUT)
                                        {
                                            warn(&quot;Zabbix ReadData: Invalid query for OUT Value: &quot; . mysql_error().&quot;\n&quot;);
                                        }
                                        else
                                        {
                                                $row_OUT = mysql_fetch_assoc($result_OUT);
                                                $data[OUT] = $row_OUT['value'];
                                                $data_time = $row_OUT['clock'];
                                        }

                                }

                                else
                                {
                                        warn(&quot;Zabbix ReadData: failed to select database ($database_name): &quot;.mysql_error().&quot;\n&quot;);
                                }
                        }
                        else
                        {
                                warn(&quot;Zabbix ReadData: failed to connect to database server: &quot;.mysql_error().&quot;\n&quot;);
                        }

                //      $data_time = now();
                }

                debug (&quot;RRD ReadData: Returning (&quot;.($data[IN]===NULL?'NULL':$data[IN]).&quot;,&quot;.($data[OUT]===NULL?'NULL':$data[IN]).&quot;,$data_time)\n&quot;);

                return( array($data[IN], $data[OUT], $data_time) );
        }
}
?&gt;</pre>
<p>转自: http://www.zabbix.com/forum/showthread.php?t=9873</p>
<h2  class="related_post_title">相关文章</h2><ul class="related_post"><li><a href="http://www.wenzk.com/archives/1516" title="新安装Cacti遇到的几个问题">新安装Cacti遇到的几个问题</a> (0)</li><li><a href="http://www.wenzk.com/archives/880" title="Zabbix Agentd在Windows下如何获得网卡流量">Zabbix Agentd在Windows下如何获得网卡流量</a> (0)</li><li><a href="http://www.wenzk.com/archives/586" title="FreeBSD下运行Zabbix出现错误">FreeBSD下运行Zabbix出现错误</a> (0)</li><li><a href="http://www.wenzk.com/archives/494" title="Zabbix在FreeBSD启动错误">Zabbix在FreeBSD启动错误</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.wenzk.com/archives/1499/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

