Lighttpd is an open source web server originally written by Jan Kneschke as an alternative to Apache, it has a low memory footprint and numerous websites such as YouTube and Wikimedia run Lighttpd servers. MySQL is a popular database solution for use in web applications (such as WordPress) and is generally combined with a server side scripting language, PHP.
Install Lighttpd on CentOS
First add EPEL yum repository your system
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Install Lighttpd using yum package manager
yum install lighttpd lighttpd-fastcgi
Start Lighttpd Server
service lighttpd start
To make sure everything installed correctly we will now test Lighttpd to ensure it is working properly. Open up any web browser and then enter the following into the web address:
http://localhost/ or http://your.ip.addr.ess
Note: Lighttpd’s default document root is
/srv/www/lighttpd , you can use this or change it by editing the configuration file
Congratulation’s! You have successfully installed lighttpd.