In this tutorial we will show you how to install and configuration of Lighttpd on your CentOS server. For those of you who didn’t know, Lighttpd is a fast and secure web-server which has been optimized for high-performance environments. With a small memory footprint compared to other web-servers, effective management of the cpu-load, and advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting and many more) lighttpd is the perfect solution for every server that is suffering load problems. Here’s a brief tutorial that shows you how to install lighttpd web server on centOS.
Install Lighttpd on CentOS
Step 1. First add EPEL yum repository your system.
Step 2. Install Lighttpd using yum package manager
Step 3. Start Lighttpd Server
Step 4. Testing Lighttpd
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. Thanks for using this tutorial for installing lighttpd web server on CentOS system. For additional help or useful information, we recommend you to check the official lighttpd web site.