<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[NetMarshal'Blog]]></title> 
<link>http://www.netmarshal.org/index.php</link> 
<description><![CDATA[A person's life]]></description> 
<language>en-US</language> 
<copyright><![CDATA[NetMarshal'Blog]]></copyright>
<item>
<link>http://www.netmarshal.org/read.php/139.htm</link>
<title><![CDATA[打造安全的CENTOS服务器---php安全]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[andylau]]></category>
<pubDate>Mon, 21 Jul 2008 03:42:39 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/139.htm</guid> 
<description>
<![CDATA[ 
	<br/>---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br/>硬件配置：<br/>AMD 3200+<br/>华硕主板<br/>KST 512M DDR400 *2<br/>120G IDE<br/>软件配置：<br/>httpd-2.0.52-28.ent.centos4<br/>php-4.3.9-3.15<br/>------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br/><br/>1、开启安全模式（做为商业应用的服务器不建议开启）<br/>复制内容到剪贴板<br/>代码:<br/>#vi /usr/local/Zend/etc/php.ini&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(没装ZO时php.ini文件位置为：/etc/php.ini)<br/>safe_mode = On<br/>2、锁定PHP程序应用目录<br/>复制内容到剪贴板<br/>代码:<br/>#vi /etc/httpd/conf.d/virtualhost.conf<br/>加入<br/>php_admin_value open_basedir /home/*** （***为站点目录）<br/>3、千万不要给不必要的目录给写权限，也就是777权限，根目录保持为711权限，如果不能运行PHP请改为755<br/><br/>4、屏蔽PHP不安全的参数(webshell)<br/>复制内容到剪贴板<br/>代码:<br/>#vi /usr/local/Zend/etc/php.ini&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (没装ZO时php.ini文件位置为：/etc/php.ini)<br/>disable_functions = system,exec,shell_exec,passthru,popen<br/>以下为我的服务器屏蔽参数：<br/>复制内容到剪贴板<br/>代码:<br/>disable_functions = passthru,exec,shell_exec,system,set_time_limit,ini_alter,dl,<br/>pfsockopen,openlog,syslog,readlink,symlink,link,leak,fsockopen,popen,escapeshell<br/>cmd,error_log
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/138.htm</link>
<title><![CDATA[centos配置ssh]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[server]]></category>
<pubDate>Wed, 07 May 2008 05:24:12 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/138.htm</guid> 
<description>
<![CDATA[ 
	在VMware安装一个CentOS的Sever版，终端里的内容不可滚动，不方便。在win下远程登录不错（win下有个Xshell）。默认安装ssh是有的。只是hosts访问问题。<br/><br/>1.在hosts.deny文件尾添加sshd:ALL<br/><br/>意思是拒绝所有访问请求<br/><br/>[root@localhost ~]# vi /etc/hosts.deny<br/><br/>修改后看起来如下：<br/><br/>#<br/># hosts.deny This file describes the names of the hosts which are<br/># *not* allowed to use the local INET services, as decided<br/># by the '/usr/sbin/tcpd' server.<br/>#<br/># The portmap line is redundant, but it is left to remind you that<br/># the new secure portmap uses hosts.deny and hosts.allow. In particular<br/># you should know that NFS uses portmap!<br/>sshd:ALL<br/><br/>2.在hosts.allow文件尾添加sshd:192.168.0.<br/><br/>意思是允许192.168.0.1 到254的主机，内网。<br/><br/>[root@localhost ~]# vi /etc/hosts.allow <br/>#<br/># hosts.allow This file describes the names of the hosts which are<br/># allowed to use the local INET services, as decided<br/># by the '/usr/sbin/tcpd' server.<br/>#<br/>sshd:192.168.0.<br/><br/>3.重启ssh<br/>[root@localhost ~]# /etc/rc.d/init.d/sshd restart<br/>停止 sshd： [ 确定 ]<br/>启动 sshd [ 确定 ]<br/><br/>好了，用putty和Xshell(Xmanager)可以登录了。<br/>Tags - <a href="http://www.netmarshal.org/go.php/tags/ssh/" rel="tag">ssh</a> , <a href="http://www.netmarshal.org/go.php/tags/centos5.1/" rel="tag">centos5.1</a>
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/137.htm</link>
<title><![CDATA[很烦]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[life]]></category>
<pubDate>Thu, 10 Apr 2008 13:20:15 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/137.htm</guid> 
<description>
<![CDATA[ 
	最近工作上的事情比较多。而且多是棘手的事情。有的事儿其实是板上钉钉的事情了，但搞到最好不定出现什么岔子。实在是佩服天朝政府部门和天朝所谓国有企业的办事儿效率。有时候真想睡他几天几夜。昨晚应酬到凌晨3点多才回来睡。现在撑不住了。等会儿就睡觉去。<br/>Tags - <a href="http://www.netmarshal.org/go.php/tags/%25E7%2583%25A6/" rel="tag">烦</a>
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/136.htm</link>
<title><![CDATA[孔繁森纪念馆]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[life]]></category>
<pubDate>Thu, 10 Apr 2008 13:13:34 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/136.htm</guid> 
<description>
<![CDATA[ 
	前几天去看了一下，很没意思。<br/><a href="http://www.netmarshal.org/attachment/1207833209_9695ed83.jpg" target="_blank"><img src="http://www.netmarshal.org/attachment/1207833209_9695ed83.jpg" class="insertimage" alt="Open in new window" title="Open in new window" border="0" width="400" height="300"/></a><br/>Tags - <a href="http://www.netmarshal.org/go.php/tags/%25E5%25AD%2594%25E7%25B9%2581%25E6%25A3%25AE/" rel="tag">孔繁森</a>
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/135.htm</link>
<title><![CDATA[Andox下载]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[andylau]]></category>
<pubDate>Fri, 25 Jan 2008 06:07:31 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/135.htm</guid> 
<description>
<![CDATA[ 
	<p class="style1">&gt;&gt; <a href="http://www.awc618.com/campaign/07_andox_emoticons/_icons/icons.zip" target="_blank">下載整套Emoticons (for MSN)</a></p><p class="style1">&gt;&gt; <a href="http://www.awc618.com/campaign/07_andox_emoticons/_icons/andox.eip" target="_blank">下載整套Emoticons (for QQ)</a></p><br/>Tags - <a href="http://www.netmarshal.org/go.php/tags/andox/" rel="tag">andox</a>
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/134.htm</link>
<title><![CDATA[自私是很多站长的恶习]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[other]]></category>
<pubDate>Fri, 25 Jan 2008 06:02:12 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/134.htm</guid> 
<description>
<![CDATA[ 
	　本人在网络上混迹，说长不长，说短不短。有关网络和网站的方方面面，有不少站长向我寻求帮助，一直以来，我最恶心这种习性——自私。<br/><br/>　　下面举出最极端的一种现象。<br/><br/>　　有些站长采集别站内容，问我怎么去掉别人内文的文字链接，图片链接;还有的站长用人家的免费程序，问我怎么去掉程序版权链接;有的站长引用别站flash视频，问我怎么去掉人家的站标。<br/><br/>　　开始我还很热心的给予解决，觉得为站长们做了好事。后来我醒悟过来了，发现这是站长们保守自私的表现。这些自私的站长永远长不大，即使走了狗屎运桃花运，也会很快没落下去。<br/><br/>　　俗话说，花花轿儿人抬人。大家互相帮衬，互相抬举，才能把蛋糕越做越大。没有知恩图报的感恩之心，没有合作共赢的思维思想，永远都别想发展壮大。<br/><br/>　　本人虽然至今没有什么大成就，但是因为乐于和善于学习善于思考的人分享经验和心得，也帮助不少人找到了出路。和我有直接接触的人，没有不对我心存谢意的。<br/><br/>　　我告诉那些自私的站长们，以后别再找我对你们那些“过河拆桥，卸磨杀驴，兔死狗烹，鸟尽弓藏，落井下石”的丑恶行径提供支持。<br/><br/>　　我非常恶心这种行为。以后再碰到这种自私的人，见一个骂一个。<br/><br/>　　现在我告诉大家，互相抬举互相捧场的好处：<br/><br/>　　1少此一举。保留链接对自己毫无害处。<br/><br/>　　2节约时间。自己不会去掉，还要找人帮助，浪费你的时间，也浪费好人的时间。时间被用在有价值的事情上，才能显出其宝贵。<br/><br/>　　3自绝后路。好多人一辈子都找不到一个患难与共的朋友。人缘不好的人，一辈子也难有出息。即使是狐朋狗友，也算是肝胆相照的朋友，也比自私的人强百倍。<br/><br/>　　4与人方便，自己方便。你做的一切好事和坏事，最终都会反作用到你自己身上。换句话说，你怎么对待别人，经过人际大循环之后，其实就是怎么对待你自己。<br/><br/>　　好多站长意识不到自己的这个恶习，今天给你指出来。给你个忠告，最好改掉这个坏毛病。<br/><br/>　　如今的金钱社会，已经把人们异化的不像样子。大家被变相压迫和剥削，都是很可怜的人了。可怜的人还要自己互相践踏，一盘散沙，更是可怜到家了。<br/>Tags - <a href="http://www.netmarshal.org/go.php/tags/%25E7%25AB%2599%25E9%2595%25BF/" rel="tag">站长</a>
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/133.htm</link>
<title><![CDATA[2007地方论坛已雄起 2008地方门户将败落]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[web]]></category>
<pubDate>Sat, 29 Dec 2007 15:25:53 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/133.htm</guid> 
<description>
<![CDATA[ 
	地方论坛、地方门户对照在人门网络意识还不强烈的年代，没有实际的应用，并且人们对门户新闻情有独钟的看法，论坛失去了他非常意义的部分，被视为鸡肋。“曾经沧海难为水，2007沧海变桑田”对论坛的真实写照，过去不知道多少人在苦恼论坛有人气而没利益，就为了一口气支撑了下来。<br/><br/><br/>也就这曾经被视为鸡肋的论坛，在2007年在地方全面雄起不断挖掘潜力，有蚕食门户的趋向，不管在生活应用或是商业运用方面彰显价值。反观地方门户却毫无作为，除了加设针对性的论坛之外别无他法，并且已经违背了门户的意义。<br/><br/>地方论坛雄起的根源<br/><br/>1.网民网络应用生活意识加强，素质普遍提高，在网络应用和网络使用方面已养成习惯，就如百度的“百度一下”网络应用生活意识文化凸显。网络概念全民皆有，有需求先网络一下，论坛的自由让人们所接受认可。<br/><br/>2.门户网站弊端显露，人才门户、房地产门户、新闻门户等，群体划分与用户体验方面已触礁中国网络潜规则“方便实用便宜”，背离了全民思想，走的是高高调路线，并且商务运用，皆因被高龄层人士所怀疑，分类就是其中典型的例子。<br/><br/>3.地方论坛人性化，粘性十足，论坛模式在分类，人才、房产、新闻方向全民普及转化，论坛做的越来越门户了。亲子、宠物、学习交流面面俱到生活化的论坛，及其强有力的用户自我和思想碰撞，使得人们离不开论坛，而门户网站却没有这样的效果或者收效甚微。<br/><br/>4.网络潜规则，国人多疑心态显著，网络交易审慎，先看再买的购物心里等，使得门户盈利与虚幻逐渐阻碍了，门户发展的动力。并且论坛传播关注度极高，转向门户的墙角，并应用于个人间的信息，门户基本是吊销的。<br/><br/>2007地方论坛因全面转门户而雄起<br/><br/>论坛已经不再仅仅是发发牢骚，寻找共同爱好的场所，探究网络生活化、实用化和应用化。第一时间发现生活网络化的呼唤而全面转门户。及时推出分类（人才、房产、新闻、活动等）生活应用及围绕百姓使得百姓的依赖。19楼、小鱼社区、西子湖畔、泉州论坛等等全国60%的地方论坛全面启航，并势头猛进，2007成为地方论坛的启蒙年和崛起年。<br/><br/>2008地方论坛门户了，地方门户没落了<br/><br/>2007地方论坛启航年，那么2008就是地方论坛的们门户年也是地方门户没落起点。08奥运一并加速地方论坛，08成为国人的骄傲也必将成为地方人们生活的热点，有太多的惊喜等着国人有太多的欢笑等着论坛去谱写，因为门户根本做不到并且也做不出来。<br/><br/>2007下了根基，08及时应用，使得门户的概念向论坛转移，加上论坛高低包罗的草根精英的能力和活跃交流能力，地方论坛将门户化成为必然，当然地方论坛也将面临一些无法抗拒的未知的障碍，但是他适应了大势大趋势，让门户没落将成为现实。<br/><br/>Tags - <a href="http://www.netmarshal.org/go.php/tags/%25E5%259C%25B0%25E6%2596%25B9%25E9%2597%25A8%25E6%2588%25B7/" rel="tag">地方门户</a>
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/132.htm</link>
<title><![CDATA[Everyone is No.1]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[andylau]]></category>
<pubDate>Sun, 16 Dec 2007 09:45:39 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/132.htm</guid> 
<description>
<![CDATA[ 
	<a href="http://www.netmarshal.org/attachment/1197798258_0.jpg" target="_blank"><img src="http://www.netmarshal.org/attachment/1197798258_0.jpg" class="insertimage" alt="Open in new window" title="Open in new window" border="0"/></a><br/>01.《一起嗌》 &nbsp; <br/> <br/>02.《沒有翅膀的天使》 &nbsp; &nbsp;<br/> <br/>03.《不是我的我不要》 &nbsp; <br/> <br/>04.《如果有一天 》 &nbsp; &nbsp;<br/> <br/>05.《繼續談情》 &nbsp; &nbsp;<br/> <br/>06.《按摩女郎》 &nbsp; &nbsp; <br/> <br/>07.《人生捕手》 &nbsp; &nbsp; <br/> <br/>08.《我得你》 &nbsp; &nbsp; <br/> <br/>09.《常言道》 &nbsp; &nbsp; <br/> <br/>10.《天生天養》 &nbsp; &nbsp;<br/> <br/>11.《夏日FIESTA》 &nbsp; &nbsp;<br/> <br/>12.《鴿子情緣》 &nbsp; &nbsp;<br/> <br/>13.《心藍》 &nbsp; &nbsp;<br/> <br/>14.《將自己給你》 &nbsp; &nbsp;<br/> <br/>15.《17歲》 <br/> <br/><br/>Tags - <a href="http://www.netmarshal.org/go.php/tags/andylau/" rel="tag">andylau</a>
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/131.htm</link>
<title><![CDATA[丁磊豪言：让百度再活三年！]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[other]]></category>
<pubDate>Wed, 12 Dec 2007 08:28:41 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/131.htm</guid> 
<description>
<![CDATA[ 
	网易(NASDAQ：NTES)宣布推出搜索引擎“有道”(yodao.com)正式版，网易CEO丁磊在发布会现场表示，希望三年内有道成为中文第一的搜索引擎。 <br/>　　丁磊坦言两年半前就开始考虑做搜索引擎，但产品技术平台比想象的要高。当网易下定决心做搜索引擎时，业界并不看好，因为国外巨头有Google，国内有百度。<br/><br/>　　但在丁磊看来，中国搜索技术还有很大改进的空间，网易将借助网站和网络游戏平台，为用户提供更好的搜索体验。<br/><br/>　　“我们在搜索引擎相关技术领域刚刚起步，但我们很有信心在未来三年时间里成为中国第一的中文搜索引擎。”丁磊如是说。<br/><br/>　　网易搜索产品有道测试版于去年12月上线，分为网页、博客和海量词典三类搜索。今日正式发布的“有道”搜索类型包括网页、博客、图片、新闻、海量词典等，将成为网易核心业务板块之一。 <br/><br/><br/>
]]>
</description>
</item><item>
<link>http://www.netmarshal.org/read.php/130.htm</link>
<title><![CDATA[371的最新版糗大了]]></title> 
<author>netmarshal &lt;admin@yourname.com&gt;</author>
<category><![CDATA[design]]></category>
<pubDate>Thu, 22 Nov 2007 16:20:16 +0000</pubDate> 
<guid>http://www.netmarshal.org/read.php/130.htm</guid> 
<description>
<![CDATA[ 
	 &nbsp; &nbsp;371改版了。打开看，还挺漂亮。用firefox打开一看。下了一大跳。整个网站乱如麻。我不知道371里边的美工是怎么搞得。只在ie里边测试的吗？错乱的原因看了下代码。主要是没有清除float浮动。偌大的磐石。美工就这水平？不知道吴高远看到后会作何感想。 <br/><br/><a href="http://www.netmarshal.org/attachment/1195748402_0.gif" target="_blank"><img src="http://www.netmarshal.org/attachment/1195748402_0.gif" class="insertimage" alt="Open in new window" title="Open in new window" border="0"/></a><br/>Tags - <a href="http://www.netmarshal.org/go.php/tags/371/" rel="tag">371</a> , <a href="http://www.netmarshal.org/go.php/tags/%25E5%2590%25B4%25E9%25AB%2598%25E8%25BF%259C/" rel="tag">吴高远</a>
]]>
</description>
</item>
</channel>
</rss>