Lighttpd on Debian

来自开放百科 - 灰狐
跳转到: 导航, 搜索

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
分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱