<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>明贵的博客</title>
		<link>http://blog.linuxphp.org/</link>
		<description>人的头脑太复杂,时间过得久,有时候连自己也被自己骗了,记下来才是最真实的......</description>
		<copyright>Copyright (C) 2004 Security Angel Team [S4T] All Rights Reserved.</copyright>
		<generator>SaBlog-X Version 1.6 Build 20080806</generator>
		<lastBuildDate>Tue, 07 Sep 2010 22:37:17 +0000</lastBuildDate>
		<ttl>30</ttl>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=131</guid>
			<title>htop替掉top的进程查看器</title>
			<author>keminar</author>
			<description><![CDATA[<p>一个可以让用户与之交互的进程查看器。作为文本模式的应用程序，主要用于控制台或 X 终端中。当前具有按树状方式来查看进程，支持颜色主题，可以定制等特性。</p>
<p>与 top 相比，htop 包含的优点有：</p>
<ol>
    <li>可以横向或纵向滚动浏览进程列表，以便看到所有的进程和完整的命令行。</li>
    <li>在启动上，比 top 更快。</li>
    <li>杀进程时不需要输入进程号。</li>
    <li>htop 支持鼠标操作。</li>
    <li>top 已经很老了。</li>
</ol>
<p>在 debian 中，你可以通过 <code>apt-get install htop</code> 来安装它。其运行截图如下。</p>
<p>如果找不到可以下载deb包</p>
<blockquote>
<p>wget http://www.anheng.com.cn/debian/pool/main/h/htop/htop_0.7-1_i386.deb</p>
</blockquote>
<p>用dpkg -i&nbsp; htop_0.7-1_i386.deb安装</p>
<p>运行截图</p>
<p><a href="http://blog.linuxphp.org/attachment.php?id=49" target="_blank"><img src="http://blog.linuxphp.org/attachments//date_201004/8f9937517a128ee48a741b414a047882.png" border="0" alt="大小: 126.56 K&#13;尺寸: 404 x 259&#13;浏览: 3 次&#13;点击打开新窗口浏览全图" width="404" height="259" /></a></p>]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=131</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-04-16 18:50</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=110</guid>
			<title>关于UCHOME二次开发</title>
			<author>keminar</author>
			<description><![CDATA[<p>uchome从程序来讲做的相当不错。做二次开发也比较容易。</p>
<p>但有几点让我相当不满意，现一一说来。</p>
<p>1. $() 和jquery冲突，想用jquery要注意一下。</p>
<p>2.ajax操作不方便，默认为XML传返值，在PHP里应该showmessage('succeed');或者使用include_once template('xx');&nbsp; 而不能使用exit('succeed');</p>
<p>3.后台如果要文件上传操作要用到前台的function_upload.php会出现formhash不一致，要处理一下。</p>
<p>4.控制器$_GET['op']有大量的if else 没有一个好的class封装</p>
<p>就写这么多。</p>]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=110</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-03-20 17:54</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=81</guid>
			<title>A Simple Web Server for Microsoft Windows</title>
			<author>keminar</author>
			<description><![CDATA[<p><span class="Apple-style-span" style="word-spacing: 0px; font: medium Simsun; text-transform: none; color: rgb(0,0,0); text-indent: 0px; white-space: normal; letter-spacing: normal; border-collapse: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px"><span class="Apple-style-span" style="font-size: small; color: rgb(51,51,51); line-height: 22px; font-family: Verdana, Arial, sans-serif">
<h2 style="padding-right: 0px; padding-left: 0px; font-weight: bold; font-size: medium; padding-bottom: 0px; margin: 0px 0px 10px; color: rgb(0,102,153); padding-top: 0px; font-family: 'Trebuchet MS', Verdana, sans-serif; text-align: left">Introduction</h2>
<p style="font-weight: normal; font-size: small; margin-bottom: 10px; color: rgb(51,51,51); line-height: 19px; font-family: Verdana, Arial, sans-serif; text-align: left">The idea of writing a web server first struck me when I was investigating Java in 1996. After reading through the language documentation, I decided that by developing a simple application I could learn the more esoteric aspects of Java -- multithreading and sockets. The outcome of my Java experimentation was Charlotte, a simple web server named after the small and wise spider from the book,<span class="Apple-converted-space">&nbsp;</span><em>Charlotte's Web</em>. Since I first created Charlotte, it has spent most of its life tucked away on a floppy disk, a long forgotten victim of my fickle interests and academic demands. Wanting to gain the same educational benefits I experienced with the Java version, I recently began developing a Windows C/C++ version. As a result of the rewrite, Charlotte has been reborn as a 32-bit Windows Console application that utilizes multithreading and the Windows socket library, &quot;Winsock.&quot; This article explains how Charlotte was written for the Windows operating system</p>
<p style="font-weight: normal; font-size: small; margin-bottom: 10px; color: rgb(51,51,51); line-height: 19px; font-family: Verdana, Arial, sans-serif; text-align: left">介绍</p>
<p style="font-weight: normal; font-size: small; margin-bottom: 10px; color: rgb(51,51,51); line-height: 19px; font-family: Verdana, Arial, sans-serif; text-align: left"><a href="http://www.acm.org/crossroads/xrds6-4/charlotte.html">http://www.acm.org/crossroads/xrds6-4/charlotte.html</a></p>
<p style="font-weight: normal; font-size: small; margin-bottom: 10px; color: rgb(51,51,51); line-height: 19px; font-family: Verdana, Arial, sans-serif; text-align: left">下载</p>
</span></span></p>
<p><font face="Verdana" color="#333333" size="3"><a href="http://www.acm.org/crossroads/xrds6-4/charlotte.zip">http://www.acm.org/crossroads/xrds6-4/charlotte.zip</a></font></p>
<p>&nbsp;</p><br /><br /><b>附件: </b><a href="http://blog.linuxphp.org/attachment.php?id=31" target="_blank">charlotte.zip</a> (6.66 K, 下载次数:4)]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=81</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-02-09 12:09</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=74</guid>
			<title>linux下飞快的BT客户端rtorrent</title>
			<author>keminar</author>
			<description><![CDATA[<p>好用的BT源码</p>
<p>rtorrent是一个Bittorrent软件，基于终端的BT客户端，高性能、低资源，另外有不少人给rtorrent开发了Web GUI来更好的让用户控制管理rtorrent，总而言之在Linux平台下，rtorrent是一个不错的BT下载解决方案。</p><br /><br /><b>附件: </b><a href="http://blog.linuxphp.org/attachment.php?id=26" target="_blank">rtorrent-0.8.5.tar.gz</a> (500.87 K, 下载次数:22)]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=74</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-02-08 00:41</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=73</guid>
			<title>Media Player Classic的源码</title>
			<author>keminar</author>
			<description><![CDATA[<p>什么是Media Player Classic?<br />
知道的人不多,但提起国内的暴风影音,我想知道的人就多了,其实暴风影音就是Media Player Classic,暴风影音只是同我一样从Gabest官方下载到了Media Player Classic的源码,不同的是,暴风影音将Media Player Classic改成了自己的名字并加入了许多的解码器,打包成自己的产品,其实这也无可厚非,关键就在于其作者老爱把里面捆绑一些我们用不到的软件.<br />
声明,我说的真的假的,明白的人会看看暴风影音的关于菜单,看看里面是不是有作者Gabest,软件是vc++的,我不会vc++留着也没用,所以就放到网上,让懂vc++的人研究研究,希望那些有志之士能在其基础上研究出更好的软件,而不是只装了解码器就打包成自己的软件.</p>
<p>&nbsp;</p><br /><br /><b>附件: </b><a href="http://blog.linuxphp.org/attachment.php?id=25" target="_blank">mpalyerc.rar</a> (483.28 K, 下载次数:8)]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=73</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-02-08 00:36</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=72</guid>
			<title>高效开源网络蜘蛛larbin</title>
			<author>keminar</author>
			<description><![CDATA[<p>larbin是一种开源的网络爬虫/网络蜘蛛，由法国的年轻人 S&eacute;bastien Ailleret独立开发。larbin目的是能够跟踪页面的url进行扩展的抓取，最后为搜索引擎提供广泛的数据来源。</p><br /><br /><b>附件: </b><a href="http://blog.linuxphp.org/attachment.php?id=24" target="_blank">larbin-2.6.3.tar.gz</a> (129.88 K, 下载次数:34)]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=72</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-02-08 00:31</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=71</guid>
			<title>飞鸽传书的源码－ipmsg206src</title>
			<author>keminar</author>
			<description><![CDATA[<p>一个关于飞鸽传书的源代码程序，有兴趣的可以借鉴和学习下。-IPMSG 完整源代码，经测试可直接使用。</p><br /><br /><b>附件: </b><a href="http://blog.linuxphp.org/attachment.php?id=23" target="_blank">ipmsg206src.zip</a> (162.12 K, 下载次数:11)]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=71</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-02-08 00:26</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=70</guid>
			<title>增量备份Deltacopy</title>
			<author>keminar</author>
			<description><![CDATA[<p>DeltaCopy 是一款资源开放,快速的增量备份软件.普通的文件拷贝将拷贝整个文件甚至仅仅有几个字节的改变.然而 DeltaCopy 仅仅拷贝在事实上已经被修改过的部分.将数据削减为 500MB 的小块数据可以节省时间和带宽.&nbsp;</p>
<p>&nbsp;</p><br /><br /><b>附件: </b><a href="http://blog.linuxphp.org/attachment.php?id=22" target="_blank">deltacopysrc.zip</a> (92.69 K, 下载次数:9)]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=70</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-02-08 00:25</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=69</guid>
			<title>AkelPad3.0.0 记事本</title>
			<author>keminar</author>
			<description><![CDATA[<p>AkelPad3.0.0-src俄国人写的用来代替notepad的程序，完全win32API编写，纯C代码</p>
<p>&nbsp;</p>
<p>&nbsp;</p><br /><br /><b>附件: </b><a href="http://blog.linuxphp.org/attachment.php?id=21" target="_blank">akelpad3.0.0-src.zip</a> (111.46 K, 下载次数:6)]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=69</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-02-08 00:23</pubDate>
		</item>
		<item>
			<guid>http://blog.linuxphp.org/?action=show&amp;id=60</guid>
			<title>六款小巧的HTTP Server[C语言]</title>
			<author>keminar</author>
			<description><![CDATA[<p><strong>1、micro_httpd - really small HTTP server</strong><br />
特点：<br />
&nbsp;&nbsp;&nbsp; 支持安全的 .. 上级目录过滤<br />
&nbsp;&nbsp;&nbsp; 支持通用的MIME类型<br />
&nbsp;&nbsp;&nbsp; 支持简单的目录<br />
&nbsp;&nbsp;&nbsp; 支持目录列表<br />
&nbsp;&nbsp;&nbsp; 支持使用 index.html 作为首页<br />
&nbsp;&nbsp;&nbsp; Trailing-slash redirection<br />
&nbsp;&nbsp;&nbsp; 程序总共代码才200多行<br />
这个httpd适合学习简单的Web Server编写学习，因为它只有一个简单的框架，只能够处理简单的静态页，可以考虑用来放静态页。<br />
官方地址：http://www.acme.com/software/micro_httpd/<br />
下载地址：http://www.acme.com/software/micro_httpd/micro_httpd_12dec2005.tar.gz<br />
<br />
<strong>2、mini_httpd - small HTTP server </strong><br />
特点：<br />
&nbsp;&nbsp;&nbsp; 支持GET、HEAD、POST方法<br />
&nbsp;&nbsp;&nbsp; 支持CGI功能<br />
&nbsp;&nbsp;&nbsp; 支持基本的验证功能<br />
&nbsp;&nbsp;&nbsp; 支持安全 .. 上级目录功能<br />
&nbsp;&nbsp;&nbsp; 支持通用的MIME类型<br />
&nbsp;&nbsp;&nbsp; 支持目录列表功能<br />
&nbsp;&nbsp;&nbsp; 支持使用 index.html, index.htm, index.cgi 作为首页<br />
&nbsp;&nbsp;&nbsp; 支持多个根目录的虚拟主机<br />
&nbsp;&nbsp;&nbsp; 支持标准日志记录<br />
&nbsp;&nbsp;&nbsp; 支持自定义错误页<br />
&nbsp;&nbsp;&nbsp; Trailing-slash redirection<br />
mini_httpd 也是相对比较适合学习使用，大体实现了一个Web Server的功能，支持静态页和CGI，能够用来放置一些个人简单的东西，不适宜投入生产使用。<br />
官方地址：http://www.acme.com/software/thttpd/<br />
下载地址：http://www.acme.com/software/mini_httpd/mini_httpd-1.19.tar.gz<br />
<br />
<strong>3、thttpd - tiny/turbo/throttling HTTP server </strong><br />
thttpd中是一个简单,小型,轻便,快速和安全的http服务器：<br />
简单：它能够支持HTTP/1.1协议标准，或者超过了最低水平<br />
小巧：它具有非常少的运行时间，因为它不fork子进程来接受新请求，并且非常谨慎的分配内存（性能对比表：http://www.acme.com/software/thttpd/benchmarks.html）<br />
便携：它能够在大部分的类Unix系统上运行，包括FreeBSD, SunOS 4, Solaris 2, BSD/OS, Linux, OSF等等<br />
快速：它的速度要超过主流的Web服务器（Apache, NCSA, Netscape），在高负载情况下，它要快的多<br />
安全：它努力的保护主机不受到攻击，不中断服务器<br />
<br />
thttpd 类似于lighttpd，对于并发请求不使用fork()来派生子进程处理，而是采用多路复用(Multiplex)技术来实现。因此效能很好。同时它还有一个特点就是基于URL的文件流量限制，这对于下载的流量控制而言是非常方便的。象Apache就必须使用插件实现，效率较thttpd低。<br />
thttpd跟lighttpd类似，适合静态资源类的服务，比如图片、资源文件、静态HTML等等的应用，性能应该比较好，同时也适合简单的CGI应用的场合。<br />
官方地址：http://www.acme.com/software/thttpd/<br />
下载地址：http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz<br />
<br />
<strong>4、lighttpd - light footprint + httpd = LightTPD </strong><br />
Lighttpd是一个德国人领导的开源软件，其根本的目的是提供一个专门针对高性能网站，安全、快速、兼容性好并且灵活的web server环境。具有非常低的内存开销，cpu占用率低，效能好，以及丰富的模块等特点。<br />
lighttpd 是众多OpenSource轻量级的web server中较为优秀的一个。支持FastCGI, CGI, Auth, 输出压缩(output compress), URL重写, Alias等重要功能，而Apache之所以流行，很大程度也是因为功能丰富，在lighttpd上很多功能都有相应的实现了，这点对于apache的用户是非常重要的，因为迁移到lighttpd就必须面对这些问题。<br />
实用起来lighttpd确实非常不错，apache主要的问题是密集并发下，不断的fork()和切换，以及较高（相对于 lighttpd而言）的内存占用，使系统的资源几尽枯竭。而lighttpd采用了Multiplex技术，代码经过优化，体积非常小，资源占用很低，而且反应速度相当快。<br />
利用apache的rewrite技术，将繁重的cgi/fastcgi任务交给lighttpd来完成，充分利用两者的优点，现在那台服务器的负载下降了一个数量级，而且反应速度也提高了一个甚至是2个数量级！<br />
lighttpd 适合静态资源类的服务，比如图片、资源文件、静态HTML等等的应用，性能应该比较好，同时也适合简单的CGI应用的场合。<br />
<br />
官方地址：http://www.lighttpd.net/<br />
下载地址：http://www.lighttpd.net/download/lighttpd-1.4.16.tar.gz<br />
<br />
<strong>5、SHTTPD - Simple HTTPD</strong><br />
Shttpd是另一个轻量级的web server，具有比thttpd更丰富的功能特性，支持CGI, SSL, cookie, MD5认证, 还能嵌入(embedded)到现有的软件里。最有意思的是不需要配置文件！由于shttpd可以嵌入其他软件，因此可以非常容易的开发嵌入式系统的web server，官方网站上称shttpd如果使用uclibc/dielibc(libc的简化子集)则开销将非常非常低。<br />
<br />
特点：<br />
&nbsp;&nbsp;&nbsp; 小巧、快速、不膨胀、无需安装、简单的40KB的exe文件，随意运行<br />
&nbsp;&nbsp;&nbsp; 支持GET, POST, HEAD, PUT, DELETE 等方法<br />
&nbsp;&nbsp;&nbsp; 支持CGI, SSL, SSI, MD5验证, resumed download, aliases, inetd模式运行<br />
&nbsp;&nbsp;&nbsp; 标准日志格式<br />
&nbsp;&nbsp;&nbsp; 非常简单整洁的嵌入式API<br />
&nbsp;&nbsp;&nbsp; dietlibc friendly. NOT that friendly to the uClibc (*)<br />
&nbsp;&nbsp;&nbsp; 容易定制运行在任意平台：Windows, QNX, RTEMS, UNIX (*BSD, Solaris, Linux)<br />
由于shttpd可以轻松嵌入其他程序里，因此shttpd是较为理想的web server开发原形，开发人员可以基于shttpd开发出自己的webserver！<br />
官方网站：http://shttpd.sourceforge.net/<br />
下载地址：<a href="http://jaist.dl.sourceforge.net/sourceforge/shttpd/shttpd-1.38.tar.gz">http://jaist.dl.sourceforge.net/sourceforge/shttpd/shttpd-1.38.tar.gz</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><strong>6、tinyhttpd<br />
</strong></p>
<p>&nbsp;</p>
<p>tinyhttpd is a very simple webserver. It is not for production use; instead it is primarily for a learning tool for persons investigating the http protocol and UNIX system calls.</p>
<p>Despite its simple nature, tinyhttpd supports threading and CGI scripts! For more information, see the accompanying README file and the code itself.</p>
<p>tinyhttpd is tested on Sparc Solaris and will probably not run on other operating systems as-is. However, commenting out the line that does threading may be all that is required to port it. I would like to <a href="http://sources.redhat.com/autobook/">autoconfiscate</a> tinyhttpd at some point in time to help make it more portable.</p>
<p>There is no downloadable release of tinyhttpd, yet. Until then, you can get it by anonymous CVS.</p>
<p>The real homepage for tinyhttpd is the <a href="http://sourceforge.net/projects/tinyhttpd/">project page</a></p>
<p>地址：<a href="http://tinyhttpd.sourceforge.net/">http://tinyhttpd.sourceforge.net/</a></p>]]></description>
			<link>http://blog.linuxphp.org/?action=show&amp;id=60</link>
			<category domain="http://blog.linuxphp.org/?cid=9">开源软件</category>
			<pubDate>2010-02-05 23:14</pubDate>
		</item>
	</channel>
</rss>
