<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://i.udiy.com.ru/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://i.udiy.com.ru" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feed.feedsky.com/ualy" type="application/rss+xml"></fs:self_link><lastBuildDate>Sun, 20 Sep 2009 18:03:00 GMT</lastBuildDate><title>华のblog</title><description>Knowing is not enough; we must apply. Willing is not enough; we must do.专注 c/c++</description><image><url>http://www.feedsky.com/feed/ualy/sc/gif</url><title>华のblog</title><link>http://udiy.com.ru/</link></image><link atom:type="text/html">http://udiy.com.ru/</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813</id><link xmlns="http://www.w3.org/2005/Atom" rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://udiy.com.ru/feeds/posts/default"></link><link xmlns="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4876655322984723813/posts/default"></link><link xmlns="http://www.w3.org/2005/Atom" rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/4876655322984723813/posts/default?start-index=26&amp;max-results=25"></link><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email></author><generator xmlns="http://www.w3.org/2005/Atom" version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>97</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><pubDate>Thu, 02 Jul 2009 05:23:37 GMT</pubDate><managingEditor>fire&amp;amp;&amp;amp;ice</managingEditor><item><title>c++ 要点（随时更新）</title><link atom:title="c++ 要点（随时更新）" atom:type="text/html">http://udiy.com.ru/2008/08/c_21.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-1237076046962403978</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>***传指针时，我们可以通过指针来修改它在外部所指向的内容。但如果要修改外部指针所指向的对象是不可能的。例如传递外部指针到函数内来分配空间，必须传递指针的指针或指针的引用。***类中的const成员函数。定义为在原型后加const。常量函数不能修改类中的任何属性。但有两种方法可以修改。a) {（myclass *）this-&gt;member1 = values;}b) 将一个成员定义成mutable即可被常量函数修改。***用sizeof计算变量的空间，如果是数组，按实际空间返回；常量字符串（实际上是在静态内存区开辟的变量）sizeof返回比实际长度加一。如果是指针则不考虑它指向的空间大小，仅仅返回指针类型的大小。如果用sizeof计算函数的行参，即使是属组也仅仅返回一个相关类型指针的大小。***虚函数：重载函数与重写函数（具有多态性的函数）的不同之处在于：&lt;img src=&quot;http://www1.feedsky.com/t1/240004379/ualy/feedsky/s.gif?r=http://udiy.com.ru/2008/08/c_21.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004379/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004379/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">c++ 要点</category><pubDate>Mon, 21 Sep 2009 02:03:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-1237076046962403978</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2008/08/c_21.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004379/5246160</fs:itemid></item><item><title>C++忠告(警句)</title><link atom:title="C++忠告(警句)" atom:type="text/html">http://udiy.com.ru/2008/08/c_20.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-2264576477313726563</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>1</thr:total><description>虽然说的是c++的学习，但我想其他的技术也类似吧给C++初学者的50个忠告 　　1.把C++当成一门新的语言学习（和C没啥关系！真的。）；  　　2.看《Thinking In C++》，不要看《C++变成死相》；  　　3.看《The C++ Programming Language》和《Inside The C++ Object Model》,不要因为他们很难而我们自己是初学者所以就不看；  　　4.不要被VC、BCB、BC、MC、TC等词汇所迷惑——他们都是集成开发环境，而我们要学的是一门语言；  　　5.不要放过任何一个看上去很简单的小编程问题——他们往往并不那么简单，或者可以引伸出很多知识点；  　　6.会用Visual C++，并不说明你会C++；  　　7.学class并不难，template、STL、generic programming也不过如此——&lt;img src=&quot;http://www1.feedsky.com/t1/240004380/ualy/feedsky/s.gif?r=http://udiy.com.ru/2008/08/c_20.html&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004380/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004380/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">C++ 忠告</category><pubDate>Sun, 20 Sep 2009 05:40:00 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-2264576477313726563</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2008/08/c_20.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004380/5246160</fs:itemid></item><item><title>google发布博客搬家工具</title><link atom:title="google发布博客搬家工具" atom:type="text/html">http://udiy.com.ru/2009/01/google.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-5919411576210335553</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>blogspot被gwf封的越来越频繁，搬走是迟早的了，唉..Liberation）团队今天正式发布 Google Blog Converters 1.0，该开源工具可以让你在不同博客服务之间自由转移文章和评论数据。第一个版本提供了 Python 程序库及相关可执行脚本，用于相互转换 Blogger、LiveJournal、MovableType 和 WordPress 导出的各种数据文件格式。对于数据量较小（&lt;1MB）的博客，可使用该项目提供的 Google App Engine 服务进行在线数据格式转换：1. Blogger -&gt; WordPress： http://blogger2wordpress.appspot.com/2. WordPress -&gt; Blogger： http://wordpress2blogger.appspot.com/3. Livejournal -&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004381/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004381/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">google 博客搬家</category><pubDate>Mon, 12 Jan 2009 22:49:47 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-5919411576210335553</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2009/01/google.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004381/5246160</fs:itemid></item><item><title>删除重复内容行</title><link atom:title="删除重复内容行" atom:type="text/html">http://udiy.com.ru/2009/01/blog-post.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-6405721481605505721</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>由于要处理一个两万多行的数据，但要删除其中内容重复的行，所以找了几个方法：1. 用sed替换重复内容，使用命令 -n &quot;G;s/\n/&amp;&amp;/;/^\(.*\n\).*\n\1/d; s/\n//;h;P&quot; &quot;$(FilePath)&quot; （这里是在editplus里的使用，注意$(FilePath)必须是带路径的文件名）。当然sed不需依赖editplus，可以单独使用的。优点：删除重复内容后，顺序结构不变。缺点：不支持UTF-8，处理大文件时（2w多行）就不行了。2.使用editplus-工具-排序，勾选&quot;删除重复&quot;。可惜不想把内容排序，却被自动排序了。（勾选&quot;区分位置&quot;，好像没用？），这个效率相当快～差不多是瞬间完成的，之所以没放弃editplus，确实它的优点有很多。3.使用一个批处理@echo off:: 删除重复的行，但不能保留空行:: 对不符合变量命名规则、&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004382/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004382/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">删除重复内容</category><pubDate>Mon, 12 Jan 2009 22:46:22 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-6405721481605505721</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2009/01/blog-post.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004382/5246160</fs:itemid></item><item><title>用 C 语言编写 Windows 服务程序的五个步骤</title><link atom:title="用 C 语言编写 Windows 服务程序的五个步骤" atom:type="text/html">http://udiy.com.ru/2008/12/c-windows.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-5172516214384622666</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>        Windows 服务被设计用于需要在后台运行的应用程序以及实现没有用户交互的任务。为了学习这种控制台应用程序的基础知识，C（不是C++）是最佳选择。本文将建立并 实现一个简单的服务程序，其功能是查询系统中可用物理内存数量，然后将结果写入一个文本文件。最后，你可以用所学知识编写自己的 Windows 服务。        　　当初我写第一个 NT 服务时，我到 MSDN 上找例子。在那里我找到了一篇 Nigel Thompson 写的文章：“Creating a Simple Win32 Service in C++， 这篇文章附带一个 C++ 例子。虽然这篇文章很好地解释了服务的开发过程，但是，我仍然感觉缺少我需要的重要信息。我想理解通过什么框架，调用什么函数，以及何时调用，但 C++ 在这方面没有让我轻松多少。面向对象的方法固然方便，但由于用类对底层 Win32&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004384/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004384/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">C 语言  Windows 服务</category><pubDate>Fri, 05 Dec 2008 21:22:36 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-5172516214384622666</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2008/12/c-windows.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004384/5246160</fs:itemid></item><item><title>让一个应用程序只运行一个实例</title><link atom:title="让一个应用程序只运行一个实例" atom:type="text/html">http://udiy.com.ru/2008/12/blog-post.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-5020227198647832887</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>方法一：/*创建全局互斥体,然后在进程启动时检查该互斥体是否已被创建只需要在InitInstance()中加入*/::CreateMutex(NULL, FALSE, &quot;MyAPP&quot;); /*创建一个互斥体*/if(ERROR_ALREADY_EXISTS == GetLastError()){      AfxMessageBox(&quot;Already run!&quot;);      return FALSE;} 方法二：一个程序可以运行多个实例（进程），那我们如何让它仅运行一个实例呢？很简单，使用#pragma编译器指令在进程的地址空间内创建一个“共享节”就可以达到目的，这个“共享节”里的数据为多个运行的进程所共享，这样我们通过设置一个变量比如：unsigned g_nInstanceCount;作为运行实例的计数，在程序入口处检测一下g_nInstanceCount是否为1，true&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004383/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004383/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">应用程序 一个实例</category><pubDate>Thu, 04 Dec 2008 01:29:26 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-5020227198647832887</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2008/12/blog-post.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004383/5246160</fs:itemid></item><item><title>linux-sed-非交互性文本流编辑器</title><link atom:title="linux-sed-非交互性文本流编辑器" atom:type="text/html">http://udiy.com.ru/2008/11/linux-sed.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-8718233512313457906</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>Sed是一个非交互性文本流编辑器。它编辑文件或标准输入导出的文本拷贝     实例    1．行的匹配    [root@mypc /]# sed -n ‘2p’ /etc/passwd 打印出第2行    [root@mypc /]# sed -n ‘1,3p’ /etc/passwd 打印出第1到第3行    [root@mypc /]# sed -n ‘$p’ /etc/passwd 打印出最后一行    [root@mypc /]# sed -n ‘/user/’p /etc/passwd 打印出含有user的行    rpc:x:32:32:Portmapper RPC user:/:/sbin/nologin    rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin    [root@mypc /]# sed&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004385/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004385/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 20 Nov 2008 23:08:42 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-8718233512313457906</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2008/11/linux-sed.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004385/5246160</fs:itemid></item><item><title>可能被你忽略的Linux安全配置</title><link atom:title="可能被你忽略的Linux安全配置" atom:type="text/html">http://udiy.com.ru/2008/11/linux_20.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-6386038915997870096</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>众所周知，网络安全是一个非常重要的课题，而服务器是网络安全中最关键的环节。Linux被认为是一个比较安全的Internet服务器，作为一种开放源代码操作系统，一旦Linux系统中发现有安全漏洞，Internet上来自世界各地的志愿者会踊跃修补它。        然而，系统管理员往往不能及时地得到信息并进行更正，这就给黑客以可乘之机。相对于这些系统本身的安全漏洞，更多的安全问题是由不当的配置造成的，可以通过适当的配置来防止。下面就简单列出以下几点，以供大家参考： 1、用防火墙关闭不须要的任何端口，别人PING不到服务器，威胁自然减少了一大半 防止别人ping的方法： 1）命令提示符下打 echo 1　&gt; /proc/sys/net/ipv4/icmp_ignore_all 2）用防火墙禁止（或丢弃）icmp 包 ##CONTINUE##iptables -A INPUT -p icmp -&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004386/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004386/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">Linux安全配置</category><pubDate>Thu, 20 Nov 2008 23:06:42 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-6386038915997870096</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2008/11/linux_20.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004386/5246160</fs:itemid></item><item><title>利用Linux打造安全的管理型网关</title><link atom:title="利用Linux打造安全的管理型网关" atom:type="text/html">http://udiy.com.ru/2008/11/linux.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-197203725873818367</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>我们首先安装网关的系统，网上我们有三块网卡：第一块网卡为eth0，IP地址为212.1.1.1的公网地址。第二块网卡为eth1，IP地址为192.168.1.1。    在这里我们选用redhat的一个Linux发行版本CentOS。安装完成后，系统自带了一套完善的防火墙系统iptables。首先我们在建立一个firewall，并赋于它执行的权限。    #touch /etc/rc.d/firewall    #chmod u+x /etc/rc.d/firewall    首先，为了使客户机可以正常上网，我们先在这个文件内写入：    #!/bin/sh    echo 1 &gt; /proc/sys/net/ipv4/ip_forward    在使用之前需要先对iptables的规则进行清除##CONTINUE##    iptables -F    iptables -t nat&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004387/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004387/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">Linux 网关</category><pubDate>Thu, 20 Nov 2008 23:03:31 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-197203725873818367</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2008/11/linux.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004387/5246160</fs:itemid></item><item><title>值得期待的kde4.2</title><link atom:title="值得期待的kde4.2" atom:type="text/html">http://udiy.com.ru/2008/11/kde42.html</link><id xmlns="http://www.w3.org/2005/Atom">tag:blogger.com,1999:blog-4876655322984723813.post-833672198823206424</id><author xmlns="http://www.w3.org/2005/Atom"><name>fire&amp;amp;&amp;amp;ice</name><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="01159911061747222286"></gd:extendedProperty></author><thr:total>0</thr:total><description>年末时KDE4.2出来，几乎所有的K程序都移植完了，那时候的KDE4才可以用惊艳来形容,这是某人预先准备的一份软件列表:# 0.基础软件debian              操作系统xorg xterm sudo      X环境、终端、sudohwd      arch团队开发的Xorg配置工具，[ hwd -xa ]hal dbus acpid      设备、电源管理alsa-utils alsa-oss       ALSA声音工具，可以解决部分设备独占情况ntfs-3g      基于FUSE的NTFS驱动，注意：[ locale=zh_CN.UTF-8 ] ##CONTINUE### 0.9.用户组useradd -m -G users,video,wheel,audio,hal,dbus,network,storage,optical,power -s /bin/bash&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/feedsky/ualy/240004388/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/feedsky/ualy/240004388/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><category domain="http://www.blogger.com/atom/ns#">kde4.2</category><pubDate>Mon, 17 Nov 2008 21:13:29 +0800</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-4876655322984723813.post-833672198823206424</guid><dc:creator>fire&amp;amp;&amp;amp;ice</dc:creator><fs:srclink>http://udiy.com.ru/2008/11/kde42.html</fs:srclink><fs:srcfeed>http://udiy.com.ru/feeds/posts/default</fs:srcfeed><fs:itemid>feedsky/ualy/~7139792/240004388/5246160</fs:itemid></item></channel></rss>