试用Lighttpd


关键字:Lighttpd Webserver 安装 Lighttpd介绍: Security, speed, compliance, and flexibility–all of these describe LightTPD which is rapidly redefining efficiency of a webserver; as it is designed and optimized for high performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) LightTPD is the perfect solution for every server that is suffering load problems. And best of all it’s Open Source licensed under the revised BSD license.

“lightTPD is the BEST webserver out there, much faster than apache and much much much more flexible/configurable/secure than tux, and its fcgi php support is simply unbeatable.” - Viktors Rotanovs

简单安装: 1.到http://www.lighttpd.net/download/下载最新的源代码版本,文件类似于lighttpd-1.4.3.tar.gz。 2.解压缩文件 tar -xzvf lighttpd-1.4.3.tar.gz 3.编译参数:

./configure –prefix=/usr/local/lighttpd-1.4.3 make make install

4.配置

cp /usr/local/src/lighttpd-1.4.3/doc/lighttpd.conf /usr/local/lighttpd-1.4.3 cd /usr/local/lighttpd-1.4.3/sbin/ ./lighttpd -f ../lighttpd.conf -t (如果显示Syntax OK,就ok了,否则请检查lighttpd.conf)

5.完成并启动

./lighttpd -f ../lighttpd.conf

comments powered by Disqus