From Huihoo Wiki - Open Source Wiki
Revision as of 20:14 2007年2月26日;
Allen (
Talk |
贡献)
(
差异)
←Older revision | Current revision | Newer revision→ (差异)
First, check of the requirements are ok:
# apt-get install libpcre3
# apt-get install zlib1g
# apt-get install mysql-common libmysqlclient12
Go to http://www.lighttpd.net/download/ and download the debian package for your distribution/platform.
If there is no debian package for your platform you have to compile it yourself.
If you run unstable, then you can install it via apt:
# apt-get update
# apt-get install lighttpd lighttpd-doc
[
编辑]
Compiling from Source
$ wget http://www.lighttpd.net/download/lighttpd-1.4.13.tar.gz
$ gzip -cd lighttpd-1.4.13.tar.gz | tar xf -
$ cd lighttpd-1.4.13
## install everything under /usr/local/
$ ./configure
$ make
# make install