欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/Agda, C++/Erlang/Lisp
Thttpd
来自开放百科 - 灰狐
(版本间的差异)
第8行: | 第8行: | ||
==基本特色== | ==基本特色== | ||
[[Image:web-server-perf.gif|right|thumb|Web Server Comparisons]] | [[Image:web-server-perf.gif|right|thumb|Web Server Comparisons]] | ||
+ | |||
+ | ==安装指南== | ||
+ | wget http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz | ||
+ | tar zxvf thttpd-2.25b.tar.gz | ||
+ | cd thttpd-2.25b | ||
+ | ./configure | ||
+ | make | ||
+ | addgroup www // 需创建 www 组 | ||
+ | mkke install | ||
+ | /usr/local/bin/thttpd | ||
+ | http://localhost/ :) | ||
+ | |||
==相关链接== | ==相关链接== | ||
*官方网站 http://www.acme.com/software/thttpd/ | *官方网站 http://www.acme.com/software/thttpd/ |
2007年3月5日 (一) 14:35的版本
目录 |
thttpd简介
thttpd是一个非常小巧的轻量级web server,它非常非常简单,仅仅提供了HTTP/1.1和简单的CGI支持,在其官方网站上有一个与其他web server(如Apache, Zeus等)的对比图+Benchmark,可以参考参考。此外,thttpd 也类似于lighttpd,对于并发请求不使用fork()来派生子进程处理,而是采用多路复用(Multiplex)技术来实现。因此效能很好。
thttpd支持多种平台,如FreeBSD, SunOS, Solaris, BSD, Linux, OSF等。对于小型web server而言,速度快似乎是一个代名词,通过官方站提供的Benchmark,可以这样认为:thttpd至少和主流的web server一样快,在高负载下更快,因为其资源占用小的缘故。
thttpd还有一个较为引人注目的特点:基于URL的文件流量限制,这对于下载的流量控制而言是非常方便的。象Apache就必须使用插件实现,效率较thttpd低。
基本特色
安装指南
wget http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz tar zxvf thttpd-2.25b.tar.gz cd thttpd-2.25b ./configure make addgroup www // 需创建 www 组 mkke install /usr/local/bin/thttpd http://localhost/ :)
相关链接
精彩图片
成功应用
分享您的观点