ArticleDirectory
I. Software Packages
A) pcre-devel-6.6-2.el5_1.7.i386.rpm
B) lighttpd-1.4.28.tar.gz
Ii. Installation Steps
A) rpm-IVH pcre-devel-6.6-2.el5_1.7.i386.rpm
B) tar zxvf lighttpd-1.4.28.tar.gz
C) CD lighttpd-1.4.28
D)./configure-Prefix =/usr/local/Lighttpd
E) Make
F) make install
G) mkdir/etc/Lighttpd
H) cp doc/config/Lighttpd. CONF/etc/Lighttpd/
I) CP-r DOC/config/CONF. d // etc/Lighttpd/CONF. d/
J) cp doc/config/modules. CONF/etc/Lighttpd/
K) cp doc/initscripts/rc. Lighttpd. RedHat/etc/init. d/Lighttpd
L) vi/etc/init. d/Lighttpd
Find prog = "Lighttpd", comment out the default one, and add:
Lighttpd = "/usr/local/Lighttpd/sbin/Lighttpd"
M) mkdir-P/srv/www/htdocs
N) useradd Lighttpd
O) chown-r Lighttpd: Root/srv/www/htdocs
P) CD/srv/www/htdocs
Q) VI index.html
R) chkconfig-add Lighttpd
S) chkconfig Lighttpd on
T) server Lighttpd start
U) pS aux | grep Lighttpd
V) http: // localhost/index.html