Lighttpd is an open-source web server optimized with a small memory footprint compared to other web-servers, effective management of the CPU-load, and an advanced feature set (FastCGI, SCGI, Auth, Output-Compression, URL-Rewriting and many more) and designed for high-performance environments. In this guide, we are going to detail the steps in installing Lighttpd web server on CentOS 8.

You can also check our guide on installing Lighttpd web server on Ubuntu 16.04/18.04

You can also check our guide on installing Lighttpd web server on CentOS 7

Deploying your cloud server
If you have not already registered with Cloudwafer, you should begin by getting signed up. Take a moment to create an account after which you can easily deploy your own cloud servers.

Once you have signed up, log into your Cloudwafer Client Area with the password provided in your mail and deploy your Cloudwafer cloud server.

Updating System Packages on CentOS
It is always recommended that you update the system to the latest packages before beginning any major installations. This is done with the command below:

sudo dnf update

Step 1: Install Lighttpd
Issue the command below to install Lighttpd using CentOS's yum package manager:

sudo yum install lighttpd

Step 2: Start, Enable and Check Lighttpd Status
After successfully install Lighttpd, issue the commands below to start and enable the service to automatically start at boot time:

sudo systemctl start lighttpd
sudo systemctl enable lighttpd

Next, issue the command below to check the status of the lighttpd service:

sudo systemctl status lighttpd

You can check the version of the Lighttpd server installed with the command below:

lighttpd -v

Next, visit your server's IP address on the browser or your domain name if you have one.