Lighttpd on Debian
From Huihoo Wiki - Open Source Wiki
Revision as of 20:14 2007年2月26日;
Allen (
Talk |
贡献)
( 差异) ←Older revision | Current revision | Newer revision→ (差异)
( 差异) ←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.
# wget http://www.lighttpd.net/download/debian/sarge/lighttpd_1.4.3-1_i386.deb # dpkg -i lighttpd_1.4.3-1_i386.deb
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
http://trac.lighttpd.net/trac/wiki/TutorialInstallation
[
编辑]
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
<script type="text/javascript"> </script> <script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"> </script>