How To Install Lighttpd on CentOS 7

September 25, 2016

How To Install Lighttpd on CentOS 7

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

Install Lighttpd using yum package manager

Start Lighttpd Server

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:


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.