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 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.
Updating System Packages
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 apt-get update && sudo apt-get upgrade
Step 1: Install Lighttpd
Issue the command below to install Lighttpd using Ubuntu's
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
You can check the version of the Lighttpd server installed with the command below:
Next, visit your server's IP address on the browser or your domain name if you have one.