<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Fred Chu</title>
	
	<link>http://fred.oracle1.com/weblog</link>
	<description>一个Web开发者的博客</description>
	<lastBuildDate>Tue, 31 Jan 2012 08:00:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/FredChu" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="fredchu" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Filezilla 3.5.3 连接VsFTPd TLS问题</title>
		<link>http://fred.oracle1.com/weblog/2012/01/30/filezilla-3-5-3-%e8%bf%9e%e6%8e%a5vsftpd-tls%e9%97%ae%e9%a2%98/</link>
		<comments>http://fred.oracle1.com/weblog/2012/01/30/filezilla-3-5-3-%e8%bf%9e%e6%8e%a5vsftpd-tls%e9%97%ae%e9%a2%98/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 02:48:55 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2225</guid>
		<description><![CDATA[Response arg: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher /etc/vsftpd/vsftpd.conf ssl_ciphers=HIGH 原因是 The default is DES-CBC3-SHA which seems that is not supported anymore by FileZilla Related PostsDecember 16, 2011 -- NFS quick howto for centos 5September 19, 2011 -- thinkpad只插电源适配器会锁频August 9, 2010 -- 苹果August 6, 2010 -- 在Linux中把前台程序放到后台运行July 8, 2010 -- 怎样在linux下修改ID3信息July 7, 2010 -- 6个Linux性能监控命令行工具May 26, 2010 [...]]]></description>
			<content:encoded><![CDATA[<pre>Response arg: error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher</pre>
<p>/etc/vsftpd/vsftpd.conf</p>
<pre>ssl_ciphers=HIGH</pre>
<p>原因是</p>
<blockquote><p>The default is DES-CBC3-SHA which seems that is not supported anymore by FileZilla</p></blockquote>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li>December 16, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/12/16/nfs-quick-howto-for-centos-5/" title="NFS quick howto for centos 5">NFS quick howto for centos 5</a></li><li>September 19, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/09/19/thinkpad%e5%8f%aa%e6%8f%92%e7%94%b5%e6%ba%90%e9%80%82%e9%85%8d%e5%99%a8%e4%bc%9a%e9%94%81%e9%a2%91/" title="thinkpad只插电源适配器会锁频">thinkpad只插电源适配器会锁频</a></li><li>August 9, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/08/09/no-mac-no-apple-no-ipad-no-iphone/" title="苹果">苹果</a></li><li>August 6, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/08/06/%e5%9c%a8linux%e4%b8%ad%e6%8a%8a%e5%89%8d%e5%8f%b0%e7%a8%8b%e5%ba%8f%e6%94%be%e5%88%b0%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8c/" title="在Linux中把前台程序放到后台运行">在Linux中把前台程序放到后台运行</a></li><li>July 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/07/08/%e6%80%8e%e6%a0%b7%e5%9c%a8linux%e4%b8%8b%e4%bf%ae%e6%94%b9id3%e4%bf%a1%e6%81%af/" title="怎样在linux下修改ID3信息">怎样在linux下修改ID3信息</a></li><li>July 7, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/07/07/6%e4%b8%aalinux%e6%80%a7%e8%83%bd%e7%9b%91%e6%8e%a7%e5%91%bd%e4%bb%a4%e8%a1%8c%e5%b7%a5%e5%85%b7/" title="6个Linux性能监控命令行工具">6个Linux性能监控命令行工具</a></li><li>May 26, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/05/26/linux-for-thinkpad-%e4%b8%8b%e6%8a%95%e5%bd%b1%e4%bb%aa%e4%bd%bf%e7%94%a8/" title="Linux For Thinkpad 下投影仪使用">Linux For Thinkpad 下投影仪使用</a></li><li>March 1, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/03/01/cpulimit-%e9%99%90%e5%88%b6%e8%bf%9b%e7%a8%8b%e7%9a%84-cpu-%e5%8d%a0%e7%94%a8%e7%8e%87/" title="cpulimit &#8211; 限制进程的 CPU 占用率">cpulimit &#8211; 限制进程的 CPU 占用率</a></li><li>February 25, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/02/25/keyboard-shortcuts/" title="Bash Shell Keyboard shortcuts">Bash Shell Keyboard shortcuts</a></li><li>February 24, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/02/24/logging-in-to-xen-console-after-receiving-xenconsole-could-not-open-tty-error/" title="Logging In to Xen Console After Receiving &#8220;xenconsole: Could not open tty&#8221; Error">Logging In to Xen Console After Receiving &#8220;xenconsole: Could not open tty&#8221; Error</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2012/01/30/filezilla-3-5-3-%e8%bf%9e%e6%8e%a5vsftpd-tls%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL regex_replace Function</title>
		<link>http://fred.oracle1.com/weblog/2012/01/18/mysql-regex_replace-function/</link>
		<comments>http://fred.oracle1.com/weblog/2012/01/18/mysql-regex_replace-function/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 04:03:19 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2222</guid>
		<description><![CDATA[123456789101112131415161718192021222324252627282930&#60;pre&#62;DELIMITER $$ CREATE FUNCTION &#160;`regex_replace`&#40;pattern VARCHAR&#40;1000&#41;,replacement VARCHAR&#40;1000&#41;,original VARCHAR&#40;1000&#41;&#41; RETURNS VARCHAR&#40;1000&#41; DETERMINISTIC BEGIN &#160;DECLARE temp VARCHAR&#40;1000&#41;; &#160;DECLARE ch VARCHAR&#40;1&#41;; &#160;DECLARE i INT; &#160;SET i = 1; &#160;SET temp = ''; &#160;IF original REGEXP pattern THEN &#160; loop_label: LOOP &#160; &#160;IF i&#38;gt;CHAR_LENGTH&#40;original&#41; THEN &#160; &#160; LEAVE loop_label; &#160; &#160;END IF; &#160; &#160;SET ch = SUBSTRING&#40;original,i,1&#41;; &#160; &#160;IF [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container mysql default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br /></div></td><td><div class="mysql codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #CC0099;">&lt;</span>pre<span style="color: #CC0099;">&gt;</span>DELIMITER $$<br />
<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=CREATE"><span style="color: #990099; font-weight: bold;">CREATE</span></a> <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=FUNCTION"><span style="color: #990099; font-weight: bold;">FUNCTION</span></a> &nbsp;<span style="color: #008000;">`regex<span style="color: #008080; font-weight: bold;">_</span>replace`</span><span style="color: #FF00FF;">&#40;</span>pattern <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=VARCHAR"><span style="color: #999900; font-weight: bold;">VARCHAR</span></a><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">1000</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>replacement <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=VARCHAR"><span style="color: #999900; font-weight: bold;">VARCHAR</span></a><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">1000</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">,</span>original <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=VARCHAR"><span style="color: #999900; font-weight: bold;">VARCHAR</span></a><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">1000</span><span style="color: #FF00FF;">&#41;</span><span style="color: #FF00FF;">&#41;</span><br />
<br />
<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=RETURNS"><span style="color: #990099; font-weight: bold;">RETURNS</span></a> <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=VARCHAR"><span style="color: #999900; font-weight: bold;">VARCHAR</span></a><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">1000</span><span style="color: #FF00FF;">&#41;</span><br />
<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=DETERMINISTIC"><span style="color: #990099; font-weight: bold;">DETERMINISTIC</span></a><br />
<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=BEGIN"><span style="color: #990099; font-weight: bold;">BEGIN</span></a> <br />
&nbsp;<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=DECLARE"><span style="color: #990099; font-weight: bold;">DECLARE</span></a> temp <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=VARCHAR"><span style="color: #999900; font-weight: bold;">VARCHAR</span></a><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">1000</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span><br />
&nbsp;<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=DECLARE"><span style="color: #990099; font-weight: bold;">DECLARE</span></a> ch <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=VARCHAR"><span style="color: #999900; font-weight: bold;">VARCHAR</span></a><span style="color: #FF00FF;">&#40;</span><span style="color: #008080;">1</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span><br />
&nbsp;<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=DECLARE"><span style="color: #990099; font-weight: bold;">DECLARE</span></a> i <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=INT"><span style="color: #999900; font-weight: bold;">INT</span></a><span style="color: #000033;">;</span><br />
&nbsp;<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=SET"><span style="color: #990099; font-weight: bold;">SET</span></a> i <span style="color: #CC0099;">=</span> <span style="color: #008080;">1</span><span style="color: #000033;">;</span><br />
&nbsp;<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=SET"><span style="color: #990099; font-weight: bold;">SET</span></a> temp <span style="color: #CC0099;">=</span> <span style="color: #008000;">''</span><span style="color: #000033;">;</span><br />
&nbsp;<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">IF</span></a> original <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/non-typed-operators.html"><span style="color: #CC0099; font-weight: bold;">REGEXP</span></a> pattern <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">THEN</span></a> <br />
&nbsp; loop_label: LOOP <br />
&nbsp; &nbsp;<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">IF</span></a> i<span style="color: #CC0099;">&amp;</span>gt<span style="color: #000033;">;</span><a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/string-functions.html"><span style="color: #000099;">CHAR_LENGTH</span></a><span style="color: #FF00FF;">&#40;</span>original<span style="color: #FF00FF;">&#41;</span> <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">THEN</span></a><br />
&nbsp; &nbsp; LEAVE loop_label<span style="color: #000033;">;</span><br />
&nbsp; &nbsp;<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">END</span></a> <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">IF</span></a><span style="color: #000033;">;</span><br />
&nbsp; &nbsp;<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=SET"><span style="color: #990099; font-weight: bold;">SET</span></a> ch <span style="color: #CC0099;">=</span> <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/string-functions.html"><span style="color: #000099;">SUBSTRING</span></a><span style="color: #FF00FF;">&#40;</span>original<span style="color: #000033;">,</span>i<span style="color: #000033;">,</span><span style="color: #008080;">1</span><span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span><br />
&nbsp; &nbsp;<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">IF</span></a> <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/non-typed-operators.html"><span style="color: #CC0099; font-weight: bold;">NOT</span></a> ch <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/non-typed-operators.html"><span style="color: #CC0099; font-weight: bold;">REGEXP</span></a> pattern <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">THEN</span></a><br />
&nbsp; &nbsp; <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=SET"><span style="color: #990099; font-weight: bold;">SET</span></a> temp <span style="color: #CC0099;">=</span> <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/string-functions.html"><span style="color: #000099;">CONCAT</span></a><span style="color: #FF00FF;">&#40;</span>temp<span style="color: #000033;">,</span>ch<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span><br />
&nbsp; &nbsp;<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">ELSE</span></a><br />
&nbsp; &nbsp; <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=SET"><span style="color: #990099; font-weight: bold;">SET</span></a> temp <span style="color: #CC0099;">=</span> <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/string-functions.html"><span style="color: #000099;">CONCAT</span></a><span style="color: #FF00FF;">&#40;</span>temp<span style="color: #000033;">,</span>replacement<span style="color: #FF00FF;">&#41;</span><span style="color: #000033;">;</span><br />
&nbsp; &nbsp;<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">END</span></a> <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">IF</span></a><span style="color: #000033;">;</span><br />
&nbsp; &nbsp;<a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=SET"><span style="color: #990099; font-weight: bold;">SET</span></a> i<span style="color: #CC0099;">=</span>i<span style="color: #CC0099;">+</span><span style="color: #008080;">1</span><span style="color: #000033;">;</span><br />
&nbsp; <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">END</span></a> LOOP<span style="color: #000033;">;</span><br />
&nbsp;<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">ELSE</span></a><br />
&nbsp; <a href="http://search.mysql.com/search?site=refman-%35%31&amp;q=SET"><span style="color: #990099; font-weight: bold;">SET</span></a> temp <span style="color: #CC0099;">=</span> original<span style="color: #000033;">;</span><br />
&nbsp;<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">END</span></a> <a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">IF</span></a><span style="color: #000033;">;</span><br />
&nbsp;RETURN temp<span style="color: #000033;">;</span><br />
<a href="http://dev.mysql.com/doc/refman/%35%2E%31/en/control-flow-functions.html"><span style="color: #009900;">END</span></a>$$<br />
DELIMITER <span style="color: #000033;">;</span><span style="color: #CC0099;">&lt;/</span>pre<span style="color: #CC0099;">&gt;</span></div></td></tr></tbody></table></div>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li>June 9, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/06/09/%e4%b8%80%e5%a4%a9%e6%80%bb%e7%bb%93/" title="一天总结">一天总结</a></li><li>September 13, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/13/mysql%e9%94%81%e8%a1%a8%e6%9c%ba%e5%88%b6%e5%88%86%e6%9e%90/" title="MySQL锁表机制分析">MySQL锁表机制分析</a></li><li>September 9, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/09/howto-configure-mysql%e2%80%99s-my-cnf-file/" title="HOWTO: configure MySQL’s my.cnf file">HOWTO: configure MySQL’s my.cnf file</a></li><li>September 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/08/mysql%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%9621-%e4%bd%bf%e7%94%a8%e9%9a%8f%e6%9c%ba%e5%87%bd%e6%95%b0%e4%ba%a7%e7%94%9f%e9%87%87%e6%a0%b7/" title="MySQL性能优化21 &#8211; 使用随机函数产生采样">MySQL性能优化21 &#8211; 使用随机函数产生采样</a></li><li>September 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/08/mysql%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%9620-order-by-%e6%93%8d%e4%bd%9c%e7%9a%84%e4%bc%98%e5%8c%96/" title="MySQL性能优化20 &#8211; ORDER BY 操作的优化">MySQL性能优化20 &#8211; ORDER BY 操作的优化</a></li><li>September 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/08/mysql%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%9619-group-by-%e6%93%8d%e4%bd%9c%e7%9a%84%e4%bc%98%e5%8c%96/" title="MySQL性能优化19 &#8211; GROUP BY 操作的优化">MySQL性能优化19 &#8211; GROUP BY 操作的优化</a></li><li>September 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/08/mysql%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%9618-%e4%bd%bf%e7%94%a8-group-by-with-rollup-%e6%94%b9%e5%96%84%e7%bb%9f%e8%ae%a1%e6%80%a7%e8%83%bd/" title="MySQL性能优化18 &#8211; 使用 GROUP BY WITH ROLLUP 改善统计性能">MySQL性能优化18 &#8211; 使用 GROUP BY WITH ROLLUP 改善统计性能</a></li><li>September 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/08/mysql%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%9617-insert%e6%93%8d%e4%bd%9c%e7%9a%84%e4%bc%98%e5%8c%96/" title="MySQL性能优化17 &#8211; INSERT操作的优化">MySQL性能优化17 &#8211; INSERT操作的优化</a></li><li>September 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/08/mysql%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%9616-innodb-%e5%ad%98%e5%82%a8%e5%bc%95%e6%93%8e/" title="MySQL性能优化16 &#8211; InnoDB 存储引擎">MySQL性能优化16 &#8211; InnoDB 存储引擎</a></li><li>September 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/08/mysql%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%9615-myisam-%e5%ad%98%e5%82%a8%e5%bc%95%e6%93%8e/" title="MySQL性能优化15 &#8211; MyISAM 存储引擎">MySQL性能优化15 &#8211; MyISAM 存储引擎</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2012/01/18/mysql-regex_replace-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD PF 防火墙简单配置</title>
		<link>http://fred.oracle1.com/weblog/2012/01/06/freebsd-pf-%e9%98%b2%e7%81%ab%e5%a2%99%e7%ae%80%e5%8d%95%e9%85%8d%e7%bd%ae/</link>
		<comments>http://fred.oracle1.com/weblog/2012/01/06/freebsd-pf-%e9%98%b2%e7%81%ab%e5%a2%99%e7%ae%80%e5%8d%95%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 07:39:14 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[freebsd]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2219</guid>
		<description><![CDATA[123456oif=&#34;em0&#34; block in pass out pass in on $oif proto tcp to ($oif) port = 5631 pass in on $oif proto tcp from 192.168.0.0/24 to ($oif) port = 3128 pass in on $oif proto tcp to ($oif) port = 80 Random PostsJune 16, 2006 -- 人类正接近答案：我们从何而来？September 2, 2011 -- Oracle常用命令October 9, 2005 -- Hello world!October [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">oif=&quot;em0&quot;<br />
block in<br />
pass out<br />
pass in on $oif proto tcp to ($oif) port = 5631<br />
pass in on $oif proto tcp from 192.168.0.0/24 to ($oif) port = 3128<br />
pass in on $oif proto tcp to ($oif) port = 80</div></td></tr></tbody></table></div>
<h2  class="related_post_title">Random Posts</h2><ul class="related_post"><li>June 14, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/06/14/song-zuiqinglou/" title="Song: 醉青楼">Song: 醉青楼</a></li><li>June 3, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/06/03/prince/" title="专辑：王子 &#8211; 张栋梁">专辑：王子 &#8211; 张栋梁</a></li><li>October 20, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/10/20/hello-goodbye/" title="Hello &#038; Goodbye">Hello &#038; Goodbye</a></li><li>August 5, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/08/05/windows-no-username-input-on-samba/" title="windows不能登录samba问题">windows不能登录samba问题</a></li><li>April 8, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/04/08/python-programming-an-introduction-to-computer-science/" title="Python Programming: An Introduction to Computer Science">Python Programming: An Introduction to Computer Science</a></li><li>May 1, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/05/01/magic-cyndi/" title="劳动节快乐～">劳动节快乐～</a></li><li>September 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/08/mysql%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%967-%e7%b4%a2%e5%bc%95%e9%80%89%e6%8b%a9%e6%80%a7/" title="MySQL性能优化7 &#8211; 索引选择性">MySQL性能优化7 &#8211; 索引选择性</a></li><li>November 10, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/11/10/wordpress_ping_services/" title="在Wordpress中发表日志后可接受更新消息的服务器">在Wordpress中发表日志后可接受更新消息的服务器</a></li><li>September 22, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/09/22/%e6%81%a2%e5%a4%8dwindows%e7%b3%bb%e7%bb%9f%e9%9f%b3%e9%a2%91%e6%9c%8d%e5%8a%a1/" title="恢复Windows系统音频服务">恢复Windows系统音频服务</a></li><li>November 27, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/11/27/php%e7%bb%84%e5%90%88%e6%8e%92%e5%88%97%e6%95%b0%e7%bb%84%e5%87%bd%e6%95%b0/" title="PHP组合排列数组函数">PHP组合排列数组函数</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2012/01/06/freebsd-pf-%e9%98%b2%e7%81%ab%e5%a2%99%e7%ae%80%e5%8d%95%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo emerge 更新系统方法</title>
		<link>http://fred.oracle1.com/weblog/2011/12/27/gentoo-emerge-upgrade-system-howto/</link>
		<comments>http://fred.oracle1.com/weblog/2011/12/27/gentoo-emerge-upgrade-system-howto/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 11:42:23 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[gentoo]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2214</guid>
		<description><![CDATA[更新Portage树 # emerge --sync 更新系统 # emerge --update --deep --newuse world 移除依赖包 # emerge --depclean # revdep-rebuild Related PostsSeptember 19, 2011 -- thinkpad只插电源适配器会锁频November 26, 2008 -- 你应该尝试的高级Linux系统September 22, 2006 -- Slackware or Gentoo?]]></description>
			<content:encoded><![CDATA[<ol>
<li>更新Portage树
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge --sync</div></div>
</li>
<li>更新系统
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge --update --deep --newuse world</div></div>
</li>
<li>移除依赖包
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"># emerge --depclean<br />
# revdep-rebuild</div></div>
</li>
</ol>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li>September 19, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/09/19/thinkpad%e5%8f%aa%e6%8f%92%e7%94%b5%e6%ba%90%e9%80%82%e9%85%8d%e5%99%a8%e4%bc%9a%e9%94%81%e9%a2%91/" title="thinkpad只插电源适配器会锁频">thinkpad只插电源适配器会锁频</a></li><li>November 26, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/11/26/advanced-linux-distributions-you-should-try/" title="你应该尝试的高级Linux系统">你应该尝试的高级Linux系统</a></li><li>September 22, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/09/22/slackware-or-gentoo/" title="Slackware or Gentoo?">Slackware or Gentoo?</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2011/12/27/gentoo-emerge-upgrade-system-howto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>小心重庆美联英语的注册金骗局</title>
		<link>http://fred.oracle1.com/weblog/2011/12/20/meteni_com_chongqing_english_study_learning/</link>
		<comments>http://fred.oracle1.com/weblog/2011/12/20/meteni_com_chongqing_english_study_learning/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 08:49:19 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[美联英语]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2209</guid>
		<description><![CDATA[上周末去重庆观音桥的美联英语咨询情况，结果被里面的要求交什么注册金，300元（因为我只带了300元）。但我第二天回来在Google、百度上搜索他们情况后发现并不是我理想中的那样。当我提到退款时，就说不能退的啦。我立马打12315电话。我说明情况之后，重庆12315的工作人员，只问了一句“他是培训机构吗?”。我说“是”。“那你打教委的电话”，“请问教委的电话是多少呢？”。“你自己打114查询啊”。 …… 天啊，这也叫便民？难道真把我们当便民了？当然我没有打教委的电话，说实话，我是第一次打12315在我心中一直是能够为消费者办事的电话，结果呢？我已经对这些所谓的“服务”失去信心了。以后还是小心点算了吧。 让我们来看看一些有趣的东西吧： 『重庆』美联英语是骗子啊！！同学们千万不要上当啊 来自天涯论坛 美联国际英语霸王条款:扣除1900元注册费不可退 来自重庆晨报 (这个人居然交了1900注册金，到底是300还是1900啊，就没政府部门管管这些乱收费的英语培训机构吗) 我美联英语交的注册金我想退款我该怎么办 美联英语注册金可以退回吗 原创美联英语告诉我：没钱别学英语  重庆美联英语解放碑店 『G4在线』广州美联英语，没签合同却不能退款 美联英语霸王条款欺骗学生，不退学费。 美联英语是骗子啊！！同学们千万不要上当啊_重庆_天涯社区 更多相关信息请看留言。 Random PostsOctober 11, 2008 -- 可能有用的小图标April 6, 2008 -- Squid freenode helper!August 21, 2008 -- Python 八荣八耻 June 15, 2006 -- Konqueror 中如何禁用 ctrl 激活访问键功能？November 19, 2006 -- 11个网络声明的真实含义December 17, 2006 -- 給自己的情歌 梁詠琪September 8, 2010 -- MySQL性能优化1 &#8211; 简介December [...]]]></description>
			<content:encoded><![CDATA[<p>上周末去重庆观音桥的<a title="美联英语" href="http://meteni.com/zhuanti/sport/chongqing/default.aspx?tid=23581" target="_blank">美联英语</a>咨询情况，结果被里面的要求交什么注册金，300元（因为我只带了300元）。但我第二天回来在Google、百度上搜索他们情况后发现并不是我理想中的那样。当我提到退款时，就说不能退的啦。我立马打12315电话。我说明情况之后，重庆12315的工作人员，只问了一句“他是培训机构吗?”。我说“是”。“那你打教委的电话”，“请问教委的电话是多少呢？”。“你自己打114查询啊”。</p>
<p>……</p>
<p>天啊，这也叫便民？难道真把我们当便民了？当然我没有打教委的电话，说实话，我是第一次打12315在我心中一直是能够为消费者办事的电话，结果呢？我已经对这些所谓的“服务”失去信心了。以后还是小心点算了吧。</p>
<p>让我们来看看一些有趣的东西吧：</p>
<ul>
<li>『重庆』<a title="美联英语是骗子啊！！同学们千万不要上当啊" href="http://bbs.city.tianya.cn/tianyacity/content/45/1/1337830.shtml" target="_blank">美联英语是骗子啊！！同学们千万不要上当啊</a> 来自天涯论坛</li>
<li><a title="美联国际英语霸王条款:扣除1900元注册费不可退" href="http://edu.ifeng.com/peixun/200907/0714_6982_1248064.shtml" target="_blank">美联国际英语霸王条款:扣除1900元注册费不可退</a> 来自重庆晨报 (这个人居然交了1900注册金，到底是300还是1900啊，就没政府部门管管这些乱收费的英语培训机构吗)</li>
<li><a title="我美联英语交的注册金我想退款我该怎么办 " href="http://www.fatianxia.com/q/37113" target="_blank">我美联英语交的注册金我想退款我该怎么办</a></li>
<li><a title="美联英语注册金可以退回吗" href="http://zhidao.baidu.com/question/162934724.html" target="_blank">美联英语注册金可以退回吗</a></li>
<li><a id="thread_subject" href="http://mycq.qq.com/t-48836-1.htm">原创美联英语告诉我：没钱别学英语</a>  重庆美联英语解放碑店</li>
<li><a href="http://bbs.city.tianya.cn/tianyacity/content/5004/1/17257.shtml" target="_blank">『G4在线』广州美联英语，没签合同却不能退款</a></li>
<li><a title="美联英语霸王条款欺骗学生，不退学费。" href="http://www.315se.com/ts/peixun/11/TS11N527197M9L.html" target="_blank">美联英语霸王条款欺骗学生，不退学费。</a></li>
<li><a href="http://www.google.com/url?sa=t&#038;rct=j&#038;q=&#038;esrc=s&#038;source=web&#038;cd=10&#038;ved=0CIUBEBYwCQ&#038;url=http%3A%2F%2Fbbs.city.tianya.cn%2Ftianyacity%2Fcontent%2F45%2F1%2F1337830.shtml&#038;ei=3dn_TrHINIaTiQKgtIWqDg&#038;usg=AFQjCNGkt8NTS8SiEwKnWDbCwLVZ-y_rvw&#038;sig2=x-oYSiA4sjXqutNz01mvEg">美联英语是骗子啊！！同学们千万不要上当啊_重庆_天涯社区</a></li>
</ul>
<p>更多相关信息请看留言。</p>
<h2  class="related_post_title">Random Posts</h2><ul class="related_post"><li>September 21, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/09/21/%e6%9b%b4%e6%94%b9linux%e5%90%af%e5%8a%a8%e7%a3%81%e7%9b%98%e6%a3%80%e6%b5%8b%e9%a2%91%e7%8e%87/" title="更改Linux启动磁盘检测频率">更改Linux启动磁盘检测频率</a></li><li>October 20, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/10/20/google%e6%8e%a8%e5%87%ba%e5%9c%a8%e7%ba%bfrss%e9%98%85%e8%af%bb%e5%99%a8/" title="Google推出在线RSS阅读器">Google推出在线RSS阅读器</a></li><li>September 14, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/09/14/how-to-understand-web20/" title="如何理解 Web2.0">如何理解 Web2.0</a></li><li>October 20, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/10/20/why-olympic-champion-loses-gold-at-national-games/" title="Why Olympic Champion loses gold at national games">Why Olympic Champion loses gold at national games</a></li><li>November 9, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/11/09/oswd_org_something/" title="OSWD.org的攻击？">OSWD.org的攻击？</a></li><li>October 21, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/10/21/ubuntu-in-my-life/" title="Ubuntu in my life">Ubuntu in my life</a></li><li>May 13, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/05/13/movie-my-girl-and-i/" title="Movie: My Girl And I">Movie: My Girl And I</a></li><li>August 8, 2009 -- <a href="http://fred.oracle1.com/weblog/2009/08/08/links-for-2009-08-07/" title="links for 2009-08-07">links for 2009-08-07</a></li><li>July 20, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/07/20/my-first-blog-post/" title="我的第一篇博客">我的第一篇博客</a></li><li>December 7, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/12/07/bye-bye-shanda/" title="Bye-bye, SNDA ">Bye-bye, SNDA </a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2011/12/20/meteni_com_chongqing_english_study_learning/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>NFS quick howto for centos 5</title>
		<link>http://fred.oracle1.com/weblog/2011/12/16/nfs-quick-howto-for-centos-5/</link>
		<comments>http://fred.oracle1.com/weblog/2011/12/16/nfs-quick-howto-for-centos-5/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 07:57:26 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NFS]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2204</guid>
		<description><![CDATA[NFS quick howto for centos 5 To use nfs successfully, you have to configure the server and the client. In this example, the client is 192.168.0.3 and the server is 192.168.0.1. The folder to be shared is /home/sharing, and to be mounted to /mnt on the client On the server Make directory that you want [...]]]></description>
			<content:encoded><![CDATA[<h2>NFS quick howto for centos 5</h2>
<p>To use nfs successfully, you have to configure the server and the client. In this example, the client is 192.168.0.3 and the server is 192.168.0.1. The folder to be shared is /home/sharing, and to be mounted to /mnt on the client</p>
<p>On the server</p>
<ol>
<li>Make directory that you want to use.</li>
<ul>
<li><span style="color: #ff0000;"># mkdir /home/sharing</span></li>
</ul>
<li>Edit /etc/exports, insert the client machine&#8217;s ip</li>
<ul>
<li><span style="color: #ff0000;"># vi /etc/exports</span></li>
<ul>
<li>Add this line:</li>
</ul>
<ul>
<ul>
<li><span style="color: #0000ff;">/home/sharing 192.168.0.3/255.255.255.255(rw,sync)</span></li>
</ul>
<li>Save</li>
</ul>
</ul>
<li>Edit /etc/hosts.allow</li>
<ul>
<li><span style="color: #ff0000;"># vi /etc/hosts.allow</span></li>
<ul>
<li>Add this line:</li>
<ul>
<li><span style="color: #0000ff;">portmap: 192.168.0.0/255.255.255.0</span></li>
</ul>
<li>Save</li>
</ul>
</ul>
<li>Start nfs and portmap</li>
<ul>
<li><span style="color: #ff0000;"># /etc/init.d /nfs start</span></li>
<li><span style="color: #ff0000;"># /etc/init.d/portmap start</span></li>
</ul>
</ol>
<pre>On the client</pre>
<ol>
<li>Start portmap</li>
<ul>
<li><span style="color: #ff0000;"># /etc/init.d/portmap start</span></li>
</ul>
<li>Mount the nfs folder</li>
<ul>
<li><span style="color: #ff0000;"># mount 192.168.0.1:/home/sharing /mnt</span></li>
</ul>
<li>Check /var/log/messages for any error that might occur</li>
<ul>
<li><span style="color: #ff0000;"># tailf /var/log/messages</span></li>
</ul>
<li>Use mount to check if the folder is mounted properly</li>
<ul>
<li><span style="color: #ff0000;"># mount </span></li>
<ul>
<li>This should be the output:</li>
<ul>
<li><span style="color: #008000;">192.168.0.1:/home/sharing on /mnt type nfs (rw,addr=192.168.0.1)</span></li>
</ul>
</ul>
</ul>
<li>Edit /etc/fstab to mount the shared folder on boot</li>
<ul>
<li><span style="color: #ff0000;"># vi /etc/fstab</span></li>
<ul>
<li>Add this line</li>
<ul>
<li><span style="color: #0000ff;">192.168.0.1:/mnt/sdb1/backup /mnt nfs rw,hard,intr 0 0</span></li>
</ul>
<li>Save</li>
</ul>
</ul>
</ol>
<pre>You can use 'man exports' to see the options available for /etc/exports</pre>
<p><span id="more-2204"></span></p>
<h1>Linux Iptables Allow NFS Clients to Access the NFS Server</h1>
<h2>Configure NFS Services to Use Fixed Ports</h2>
<div></div>
<p>However, NFS and portmap are pretty complex protocols. Firewalling should be done at each host and at the border firewalls to protect the NFS daemons from remote<br />
access, since NFS servers should never be accessible from outside the organization. However, by default, the portmapper assigns each NFS service to a port dynamically at service startup time.</p>
<div></div>
<p>Dynamic ports cannot be protected by port filtering firewalls such as iptables. First, you need to configure NFS services to use fixed ports. Open /etc/sysconfig/nfs, enter:<br />
<span style="color: #ff0000;"># vi /etc/sysconfig/nfs</span><br />
Modify config directive as follows to set TCP/UDP unused ports:</p>
<pre># TCP port rpc.lockd should listen on.
LOCKD_TCPPORT=lockd-port-number
# UDP port rpc.lockd should listen on.
LOCKD_UDPPORT=lockd-port-number
# Port rpc.mountd should listen on.
MOUNTD_PORT=mountd-port-number
# Port rquotad should listen on.
RQUOTAD_PORT=rquotad-port-number
# Port rpc.statd should listen on.
STATD_PORT=statd-port-number
# Outgoing port statd should used. The default is port is random
STATD_OUTGOING_PORT=statd-outgoing-port-numbe</pre>
<p>Here is sample listing from one of my production NFS server:</p>
<pre>LOCKD_TCPPORT=32803
LOCKD_UDPPORT=32769
MOUNTD_PORT=892
RQUOTAD_PORT=875
STATD_PORT=662
STATD_OUTGOING_PORT=2020</pre>
<p>Save and close the files. Restart <a href="http://www.cyberciti.biz/faq/how-do-i-start-and-stop-nfs-service/" target="_blank">NFS and portmap</a> services:<br />
# service portmap restart<br />
# service nfs restart<br />
# service rpcsvcgssd restart</p>
<h3>Update /etc/sysconfig/iptables files</h3>
<p>Open /etc/sysconfig/iptables, enter:<br />
<span style="color: #ff0000;"># vi /etc/sysconfig/iptables</span><br />
Add the following lines, ensuring that they appear before the final LOG and DROP lines for the RH-Firewall-1-INPUT chain:</p>
<pre>-A RH-Firewall-1-INPUT -s 192.168.1.0/24 -m state --state NEW -p udp --dport 111 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24 -m state --state NEW -p tcp --dport 111 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24 -m state --state NEW -p tcp --dport 2049 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24  -m state --state NEW -p tcp --dport 32803 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24  -m state --state NEW -p udp --dport 32769 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24  -m state --state NEW -p tcp --dport 892 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24  -m state --state NEW -p udp --dport 892 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24  -m state --state NEW -p tcp --dport 875 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24  -m state --state NEW -p udp --dport 875 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24  -m state --state NEW -p tcp --dport 662 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.1.0/24 -m state --state NEW -p udp --dport 662 -j ACCEP</pre>
<p>Save and close the file. Replace 192.168.1.0/24 with your actual LAN subnet /mask combo. You need to use static port values defined by /etc/sysconfig/nfs config file. Restart iptables service:<br />
<span style="color: #ff0000;"># service iptables restart</span></p>
<div></div>
<p>&nbsp;</p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li>June 30, 2009 -- <a href="http://fred.oracle1.com/weblog/2009/06/30/linux-vlm-how-to/" title="Linux VLM how to">Linux VLM how to</a></li><li>November 25, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/11/25/yellow-dog-61/" title="Yellow Dog发布新版本">Yellow Dog发布新版本</a></li><li>July 10, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/07/10/nfs-with-server-and-client/" title="NFS服务器与客户端设置">NFS服务器与客户端设置</a></li><li>January 30, 2012 -- <a href="http://fred.oracle1.com/weblog/2012/01/30/filezilla-3-5-3-%e8%bf%9e%e6%8e%a5vsftpd-tls%e9%97%ae%e9%a2%98/" title="Filezilla 3.5.3 连接VsFTPd TLS问题">Filezilla 3.5.3 连接VsFTPd TLS问题</a></li><li>September 19, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/09/19/thinkpad%e5%8f%aa%e6%8f%92%e7%94%b5%e6%ba%90%e9%80%82%e9%85%8d%e5%99%a8%e4%bc%9a%e9%94%81%e9%a2%91/" title="thinkpad只插电源适配器会锁频">thinkpad只插电源适配器会锁频</a></li><li>August 9, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/08/09/no-mac-no-apple-no-ipad-no-iphone/" title="苹果">苹果</a></li><li>August 6, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/08/06/%e5%9c%a8linux%e4%b8%ad%e6%8a%8a%e5%89%8d%e5%8f%b0%e7%a8%8b%e5%ba%8f%e6%94%be%e5%88%b0%e5%90%8e%e5%8f%b0%e8%bf%90%e8%a1%8c/" title="在Linux中把前台程序放到后台运行">在Linux中把前台程序放到后台运行</a></li><li>July 8, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/07/08/%e6%80%8e%e6%a0%b7%e5%9c%a8linux%e4%b8%8b%e4%bf%ae%e6%94%b9id3%e4%bf%a1%e6%81%af/" title="怎样在linux下修改ID3信息">怎样在linux下修改ID3信息</a></li><li>July 7, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/07/07/6%e4%b8%aalinux%e6%80%a7%e8%83%bd%e7%9b%91%e6%8e%a7%e5%91%bd%e4%bb%a4%e8%a1%8c%e5%b7%a5%e5%85%b7/" title="6个Linux性能监控命令行工具">6个Linux性能监控命令行工具</a></li><li>May 26, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/05/26/linux-for-thinkpad-%e4%b8%8b%e6%8a%95%e5%bd%b1%e4%bb%aa%e4%bd%bf%e7%94%a8/" title="Linux For Thinkpad 下投影仪使用">Linux For Thinkpad 下投影仪使用</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2011/12/16/nfs-quick-howto-for-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web应用安全分析工具</title>
		<link>http://fred.oracle1.com/weblog/2011/10/27/web%e5%ba%94%e7%94%a8%e5%ae%89%e5%85%a8%e5%88%86%e6%9e%90%e5%b7%a5%e5%85%b7/</link>
		<comments>http://fred.oracle1.com/weblog/2011/10/27/web%e5%ba%94%e7%94%a8%e5%ae%89%e5%85%a8%e5%88%86%e6%9e%90%e5%b7%a5%e5%85%b7/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 06:06:04 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2199</guid>
		<description><![CDATA[http://sectools.org/web-scanners.html &#160; &#160; &#160; &#160; Related PostsOctober 20, 2011 -- HTML颜色图表March 4, 2010 -- 微软SQL注入测试工具（ASP）February 9, 2010 -- MSSQL Injection Cheat SheetFebruary 9, 2010 -- Use nmap scan FTP server how toAugust 18, 2008 -- 使用自由软件测试HTTP服务August 2, 2008 -- 5 个充满想象力的 Web 调色板April 14, 2008 -- Hello, Catalyst!July 29, 2007 -- Web Development Toolbox: 120+ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://sectools.org/web-scanners.html">http://sectools.org/web-scanners.html</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li>October 20, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/10/20/html%e9%a2%9c%e8%89%b2%e5%9b%be%e8%a1%a8/" title="HTML颜色图表">HTML颜色图表</a></li><li>March 4, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/03/04/sql-injector-test-tool-for-asp/" title="微软SQL注入测试工具（ASP）">微软SQL注入测试工具（ASP）</a></li><li>February 9, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/02/09/mssql-injection-cheat-sheet/" title="MSSQL Injection Cheat Sheet">MSSQL Injection Cheat Sheet</a></li><li>February 9, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/02/09/use-nmap-scan-ftp-server-how-to/" title="Use nmap scan FTP server how to">Use nmap scan FTP server how to</a></li><li>August 18, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/08/18/using-free-software-for-http-load-testing/" title="使用自由软件测试HTTP服务">使用自由软件测试HTTP服务</a></li><li>August 2, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/08/02/5-web-color-panel/" title="5 个充满想象力的 Web 调色板">5 个充满想象力的 Web 调色板</a></li><li>April 14, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/04/14/hello-catalyst/" title="Hello, Catalyst!">Hello, Catalyst!</a></li><li>July 29, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/07/29/web-development-toolbox-120-web-development-resources/" title="Web Development Toolbox: 120+ Web Development Resources">Web Development Toolbox: 120+ Web Development Resources</a></li><li>November 19, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/11/19/11-web-claims/" title="11个网络声明的真实含义">11个网络声明的真实含义</a></li><li>September 21, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/09/21/top-100-network-security-tools-2006/" title="Top 100 Network Security Tools 2006">Top 100 Network Security Tools 2006</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2011/10/27/web%e5%ba%94%e7%94%a8%e5%ae%89%e5%85%a8%e5%88%86%e6%9e%90%e5%b7%a5%e5%85%b7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squid 2.7 通过域名反向代理多个服务器配置</title>
		<link>http://fred.oracle1.com/weblog/2011/10/26/squid-2-7-%e9%80%9a%e8%bf%87%e5%9f%9f%e5%90%8d%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86%e5%a4%9a%e4%b8%aa%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%85%8d%e7%bd%ae/</link>
		<comments>http://fred.oracle1.com/weblog/2011/10/26/squid-2-7-%e9%80%9a%e8%bf%87%e5%9f%9f%e5%90%8d%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86%e5%a4%9a%e4%b8%aa%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%85%8d%e7%bd%ae/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 09:12:47 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2197</guid>
		<description><![CDATA[visible_hostname squid1.abc.com #设定squid的主机名,如无此项squid将无法启动 http_port 80 accel vhost vport #设定squid为accel加速模式,vhost必须要加.否则将无法将主机头转发至后端服务器,访问时就会出现无法找到主机头的错误 cache_peer 192.168.1.88 parent 80 0 no-query originserver name=contentchina cache_peer 192.168.1.88 parent 80 0 no-query originserver name=bbs cache_peer 192.168.1.1 parent 80 0 no-query originserver name=ihompy #定义不同的父节点,将节点设为no-query以及originserver说明这些节点是实际服务器 cache_peer_domain contentchina aaa.abc.com cache_peer_domain bbs bbb.abc.com cache_peer_domain ihompy ccc.abc.com #设定不同域名转发到不同的cache_peer上,如果没有这项.不同域名的域名可能被分发到同一台服务器上. acl all src 0.0.0.0/0.0.0.0 no_cache deny all http_access allow all #允许所有客户端访问 cache_log /var/log/squid/cache.log #记录日志 #***********ACL存取控制************* #acl QueryString url_regex .php? #***********缓冲存取控制************* #no_cache deny QueryString #不对符合QueryString的ACL内容进行缓冲 #***********性能优化配置************* maximum_object_size 320010 KB #大于此容量的对象将不会被保存在磁盘上,默认大小是4M,如果squid服务器用于缓冲flash等大型文件,建议将此值变大.否则过大的文件在下次重启后将需要重新获取 maximum_object_size_in_memory 100 KB #最大位于内存中的对象的大小,默认大小是8K,如果服务器内存很大.可以适当提高此值的大小,建议根据网站的80%图片的大小来定.或者根据WEB服务器实际存取文件中最常访问的文件大小来定制 #***********其他可选配置************* #dns_nameservers 10.0.0.1 192.172.0.4 #配置DNS服务器地址.获取后端时将从此dns获取IP地址 #cache_mgr ggg_g@tom.com #在错误日志中出现的webmaster地址. Related PostsSeptember 27, 2009 -- Squid缓存PHP页面方法September 27, 2009 -- Squid对访问特定域名的验证September 18, 2009 -- Don’t cache this, squid !July 22, 2008 -- PHP配合Squid缓存动态页面Header写法April [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container apache default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><div class="apache codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">visible_hostname squid1.abc.com<br />
<br />
<span style="color: #adadad; font-style: italic;">#设定squid的主机名,如无此项squid将无法启动</span><br />
<br />
http_port <span style="color: #ff0000;">80</span> accel vhost vport<br />
<br />
<span style="color: #adadad; font-style: italic;">#设定squid为accel加速模式,vhost必须要加.否则将无法将主机头转发至后端服务器,访问时就会出现无法找到主机头的错误</span><br />
<br />
cache_peer 192.168.1.88 parent <span style="color: #ff0000;">80</span> <span style="color: #ff0000;">0</span> no-query originserver name=contentchina<br />
<br />
cache_peer 192.168.1.88 parent <span style="color: #ff0000;">80</span> <span style="color: #ff0000;">0</span> no-query originserver name=bbs<br />
<br />
cache_peer 192.168.1.1 parent <span style="color: #ff0000;">80</span> <span style="color: #ff0000;">0</span> no-query originserver name=ihompy<br />
<br />
<span style="color: #adadad; font-style: italic;">#定义不同的父节点,将节点设为no-query以及originserver说明这些节点是实际服务器</span><br />
<br />
cache_peer_domain contentchina aaa.abc.com<br />
<br />
cache_peer_domain bbs bbb.abc.com<br />
<br />
cache_peer_domain ihompy ccc.abc.com<br />
<br />
<span style="color: #adadad; font-style: italic;">#设定不同域名转发到不同的cache_peer上,如果没有这项.不同域名的域名可能被分发到同一台服务器上.</span><br />
<br />
acl <span style="color: #0000ff;">all</span> src 0.0.0.0/0.0.0.0<br />
<br />
no_cache <span style="color: #00007f;">deny</span> <span style="color: #0000ff;">all</span><br />
<br />
http_access <span style="color: #00007f;">allow</span> <span style="color: #0000ff;">all</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#允许所有客户端访问</span><br />
<br />
cache_log /var/log/squid/cache.log<br />
<br />
<span style="color: #adadad; font-style: italic;">#记录日志</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#***********ACL存取控制*************</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#acl QueryString url_regex .php?</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#***********缓冲存取控制*************</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#no_cache deny QueryString</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#不对符合QueryString的ACL内容进行缓冲</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#***********性能优化配置*************</span><br />
<br />
maximum_object_size <span style="color: #ff0000;">320010</span> KB<br />
<br />
<span style="color: #adadad; font-style: italic;">#大于此容量的对象将不会被保存在磁盘上,默认大小是4M,如果squid服务器用于缓冲flash等大型文件,建议将此值变大.否则过大的文件在下次重启后将需要重新获取</span><br />
<br />
maximum_object_size_in_memory <span style="color: #ff0000;">100</span> KB<br />
<br />
<span style="color: #adadad; font-style: italic;">#最大位于内存中的对象的大小,默认大小是8K,如果服务器内存很大.可以适当提高此值的大小,建议根据网站的80%图片的大小来定.或者根据WEB服务器实际存取文件中最常访问的文件大小来定制</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#***********其他可选配置*************</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#dns_nameservers 10.0.0.1 192.172.0.4</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#配置DNS服务器地址.获取后端时将从此dns获取IP地址</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#cache_mgr ggg_g@tom.com</span><br />
<br />
<span style="color: #adadad; font-style: italic;">#在错误日志中出现的webmaster地址.</span></div></div>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li>September 27, 2009 -- <a href="http://fred.oracle1.com/weblog/2009/09/27/squid%e7%bc%93%e5%ad%98php%e9%a1%b5%e9%9d%a2%e6%96%b9%e6%b3%95/" title="Squid缓存PHP页面方法">Squid缓存PHP页面方法</a></li><li>September 27, 2009 -- <a href="http://fred.oracle1.com/weblog/2009/09/27/squid%e5%af%b9%e8%ae%bf%e9%97%ae%e7%89%b9%e5%ae%9a%e5%9f%9f%e5%90%8d%e7%9a%84%e9%aa%8c%e8%af%81/" title="Squid对访问特定域名的验证">Squid对访问特定域名的验证</a></li><li>September 18, 2009 -- <a href="http://fred.oracle1.com/weblog/2009/09/18/don%e2%80%99t-cache-this-squid/" title="Don’t cache this, squid !">Don’t cache this, squid !</a></li><li>July 22, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/07/22/php-and-suqid-cache-page-header-function/" title="PHP配合Squid缓存动态页面Header写法">PHP配合Squid缓存动态页面Header写法</a></li><li>April 9, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/04/09/php-header-work-with-squid-cache-server/" title="PHP header work with Squid cache server">PHP header work with Squid cache server</a></li><li>April 6, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/04/06/squid-freenode-helper/" title="Squid freenode helper!">Squid freenode helper!</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2011/10/26/squid-2-7-%e9%80%9a%e8%bf%87%e5%9f%9f%e5%90%8d%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86%e5%a4%9a%e4%b8%aa%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%85%8d%e7%bd%ae/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML颜色图表</title>
		<link>http://fred.oracle1.com/weblog/2011/10/20/html%e9%a2%9c%e8%89%b2%e5%9b%be%e8%a1%a8/</link>
		<comments>http://fred.oracle1.com/weblog/2011/10/20/html%e9%a2%9c%e8%89%b2%e5%9b%be%e8%a1%a8/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 06:34:46 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2195</guid>
		<description><![CDATA[http://fred.oracle1.com/~fred/pages/colors.html 做网站配色的好工具。 &#160; &#160; &#160; &#160; Related PostsAugust 2, 2008 -- 5 个充满想象力的 Web 调色板October 27, 2011 -- Web应用安全分析工具October 22, 2008 -- 10+设计资源和灵感的必备网站August 18, 2008 -- 使用自由软件测试HTTP服务April 14, 2008 -- Hello, Catalyst!July 29, 2007 -- Web Development Toolbox: 120+ Web Development ResourcesNovember 19, 2006 -- 11个网络声明的真实含义July 17, 2006 -- A free new web templateDecember 19, [...]]]></description>
			<content:encoded><![CDATA[<p><a title="HTML 颜色图标" href="http://fred.oracle1.com/~fred/pages/colors.html" target="_blank">http://fred.oracle1.com/~fred/pages/colors.html</a></p>
<p>做网站配色的好工具。</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li>August 2, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/08/02/5-web-color-panel/" title="5 个充满想象力的 Web 调色板">5 个充满想象力的 Web 调色板</a></li><li>October 27, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/10/27/web%e5%ba%94%e7%94%a8%e5%ae%89%e5%85%a8%e5%88%86%e6%9e%90%e5%b7%a5%e5%85%b7/" title="Web应用安全分析工具">Web应用安全分析工具</a></li><li>October 22, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/10/22/10%e8%ae%be%e8%ae%a1%e8%b5%84%e6%ba%90%e5%92%8c%e7%81%b5%e6%84%9f%e7%9a%84%e5%bf%85%e5%a4%87%e7%bd%91%e7%ab%99/" title="10+设计资源和灵感的必备网站">10+设计资源和灵感的必备网站</a></li><li>August 18, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/08/18/using-free-software-for-http-load-testing/" title="使用自由软件测试HTTP服务">使用自由软件测试HTTP服务</a></li><li>April 14, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/04/14/hello-catalyst/" title="Hello, Catalyst!">Hello, Catalyst!</a></li><li>July 29, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/07/29/web-development-toolbox-120-web-development-resources/" title="Web Development Toolbox: 120+ Web Development Resources">Web Development Toolbox: 120+ Web Development Resources</a></li><li>November 19, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/11/19/11-web-claims/" title="11个网络声明的真实含义">11个网络声明的真实含义</a></li><li>July 17, 2006 -- <a href="http://fred.oracle1.com/weblog/2006/07/17/a-free-new-web-template/" title="A free new web template">A free new web template</a></li><li>December 19, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/12/19/gimp-aqua-button-howto/" title="gimp技巧：怎么制作水晶按钮">gimp技巧：怎么制作水晶按钮</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2011/10/20/html%e9%a2%9c%e8%89%b2%e5%9b%be%e8%a1%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rsync 增量备份</title>
		<link>http://fred.oracle1.com/weblog/2011/09/29/rsync-%e5%a2%9e%e9%87%8f%e5%a4%87%e4%bb%bd/</link>
		<comments>http://fred.oracle1.com/weblog/2011/09/29/rsync-%e5%a2%9e%e9%87%8f%e5%a4%87%e4%bb%bd/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 06:19:30 +0000</pubDate>
		<dc:creator>Fred</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://fred.oracle1.com/weblog/?p=2192</guid>
		<description><![CDATA[1﻿﻿rsync --force --ignore-errors --delete --delete-excluded --exclude &#34;logs/&#34; --exclude &#34;umslog/&#34; 192.168.254.221::www-back /Datas/Backup/Rsync-YuKuai/app-daily --log-file=/Datas/Backup/Rsync-YuKuai/logs/`date +%Y-%m-%d`.log -azv -backup --backup-dir=/Datas/Backup/Rsync-YuKuai/app-daily-arch/`date +%Y-%m-%d` Random PostsAugust 6, 2010 -- 在Linux中把前台程序放到后台运行June 22, 2006 -- 10条Ubuntulinux新用户技巧July 21, 2006 -- 关于恶意网路抓取程序的判断December 13, 2006 -- Ruby on Rails Windows安装问题July 12, 2010 -- 互联网产品设计的40个超实用的Web设计工具July 20, 2008 -- 用CPAN安装perl moduleAugust 11, 2010 -- 通过与Java的比较，迅速掌握Groovy September 5, 2007 -- [...]]]></description>
			<content:encoded><![CDATA[<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">﻿﻿rsync --force --ignore-errors --delete --delete-excluded --exclude &quot;logs/&quot; --exclude &quot;umslog/&quot; 192.168.254.221::www-back /Datas/Backup/Rsync-YuKuai/app-daily --log-file=/Datas/Backup/Rsync-YuKuai/logs/`date +%Y-%m-%d`.log -azv -backup --backup-dir=/Datas/Backup/Rsync-YuKuai/app-daily-arch/`date +%Y-%m-%d`</div></td></tr></tbody></table></div>
<h2  class="related_post_title">Random Posts</h2><ul class="related_post"><li>December 19, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/12/19/gimp-aqua-button-howto/" title="gimp技巧：怎么制作水晶按钮">gimp技巧：怎么制作水晶按钮</a></li><li>September 12, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/09/12/cloud-computing-software/" title="Cloud computing software">Cloud computing software</a></li><li>July 8, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/07/08/map-of-the-world-wide-web/" title="全球国家/地区级域名地理分布情况图">全球国家/地区级域名地理分布情况图</a></li><li>December 20, 2011 -- <a href="http://fred.oracle1.com/weblog/2011/12/20/meteni_com_chongqing_english_study_learning/" title="小心重庆美联英语的注册金骗局">小心重庆美联英语的注册金骗局</a></li><li>October 20, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/10/20/%e6%8c%91%e6%88%98%e5%be%ae%e8%bd%afopenoffice-20%e6%ad%a3%e5%bc%8f%e7%89%88%e4%b8%8b%e8%bd%bd/" title="挑战微软,OpenOffice 2.0正式版下载">挑战微软,OpenOffice 2.0正式版下载</a></li><li>October 20, 2005 -- <a href="http://fred.oracle1.com/weblog/2005/10/20/why-olympic-champion-loses-gold-at-national-games/" title="Why Olympic Champion loses gold at national games">Why Olympic Champion loses gold at national games</a></li><li>January 27, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/01/27/links-for-2007-01-27/" title="links for 2007-01-27">links for 2007-01-27</a></li><li>March 2, 2010 -- <a href="http://fred.oracle1.com/weblog/2010/03/02/drupal%e7%9a%84theme%e5%bc%80%e5%8f%91/" title="Drupal的theme开发">Drupal的theme开发</a></li><li>July 24, 2008 -- <a href="http://fred.oracle1.com/weblog/2008/07/24/some-web-python-crawler-classes/" title="几个Python爬虫库">几个Python爬虫库</a></li><li>March 25, 2007 -- <a href="http://fred.oracle1.com/weblog/2007/03/25/japan-moto-girls/" title="Japan moto girls">Japan moto girls</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://fred.oracle1.com/weblog/2011/09/29/rsync-%e5%a2%9e%e9%87%8f%e5%a4%87%e4%bb%bd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->

