After learning C language, confident and full of open-source software to go, the preferred lighttpd, this software code is not much, suitable for the first open source of friends
Redhat installation LIGHTTPD, must first install the dependent library, Pcre and bzip2, the two self-download, the network also has a corresponding installation method./configure, then make, then made install, as long as no error, even if the installation is successful.
Then enter the LIGHTTPD installation package,./configure, you can first look at Configure's help (./configure-h), to confirm the environment is perfect, there are errors, according to the error to solve the problem. Next, it's best to make a clean-up so you can ensure that the environment is cleaner before compiling, then build, and finally install
After installation, found in the doc/initscripts, the use of cp-p to fully replicate rc.lighttpd.redhat to/ETC/INIT.D, and renamed to LIGHTTPD, so you can use service lighttpd The status of this script to start, and then what is missing what to fill!
By default, LIGHTTPD will be installed under the/usr/local, will produce three directories, are stored in/usr/local corresponding to the path, Lib Sbin share, you can find the corresponding installed what.
Redhat6 under Installation Lighttpd1.4.43