Instalando lighttpd

Instalando lighttpd

There is always a doubt, and a great discussion about the best web server . I think it’s complete nonsense .. all (those who pay) always have an application which does well.

I own a great tendency to apply the lighttpd around what I use, because I find it lighter and faster than anyone else.

Lighttpd on Ubuntu

The easiest way to install ubuntu impossible, simply:

apt-get update
apt-get upgrade
apt-get install lighttpd


Lighttpd, for those who do not use ubuntu

Simple also install ubuntu!

Joking! Just compile! When it speaks, Granny in the corner already crawled.

But it is easy, do not be afraid! Grandma calls to learn too!

First of all, visit the lighttpd ( ), on the part of downloads Get the latest version. At the time of this post the latest version is 1.4.31.

If you have a newer version on the site, and the procedure does not work, Grandma says to not cry, talk to me, that we solve!

Download the lighttpd.

wget wget


tar zxvf lighttpd-1.4.32.tar.gz

Now just compile

cd lighttpd-1.4.32 /

-prefix=/usr \
-exec-prefix=/usr \
-bindir=/usr/bin \
-sbindir=/usr/sbin \
-sysconfdir=/etc \
-datadir=/usr/share \
-includedir=/usr/include \
-libdir=/usr/lib \
-libexecdir=/usr/libexec \
-localstatedir=/var \
-sharedstatedir=/usr/com \
-mandir=/usr/share/man \
-infodir=/usr/share/info \
-with-openssl \
-with-pcre \
-with-zlib \
-with-bzip2 \
-disable-ipv6 \
-with-PACKAGE=mod_redirect \
-with-rewrite \
-with-redirect \

Much of al things, could be removed. But I believe that’s just the basics.

If you have any questions, or want to add something, you can check with the command:

. /configure - help

Now just install

make install


Written by vinicius