List of content you will read in this article:
What is Lighttpd?
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. This tutorial will show you the steps required How To Install Lighttpd, PHP and MySQL on CentOs 6 so that you can get up and running with your Linux VPS or Linux dedicated Server
How To 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
/etc/lighttpd/lighttpd.conf. Congratulation’s! You have successfully installed lighttpd.