Lighttpd is an open-source web server optimised 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 Debian 9.
You can also check our guide on installing Lighttpd web server on CentOS 7
You can also check our guide on installing Lighttpd web server on Ubuntu 16/18
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 quickly deploy your own cloud servers.
Updating System Packages
It is recommended that you update the system to the latest packages before beginning any major installations. Issue the command below:
sudo apt-get update && sudo apt-get upgrade
Step 1: Install Lighttpd
Issue the command below to install Lighttpd from the Debian repository using the
apt package manager:
sudo apt 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