Install Lighttpd 1.4.39 Web Server on Linux

Lighttpd is an open source web server originally written by Jan Kneschke, which is an alternative of the most popular web server Apache.

Lighttpd giving better performance such as speed, Security, compliance and flexibility compare with other web servers.

It was designed and optimized for high performance environments with low memory & CPU utilization.

Lighttpd support FastCGI which was widely using for dynamic websites.

Lighttpd is handle 10000 connections in parallel on one server without any issue based on your server configuration.

Alternatively you can install Nginx & Apache web servers.

Refer the LinuxTechNew.com website to know the latest release of Lighttpd.

1) How To Install Lighttpd on CentOS And RHEL Systems?

We can easily install the latest version of Lighttpd by enabling the EPEL repository on RHEL and CentOS systems.

# yum install lighttpd lighttpd-fastcgi

2) How To Install Lighttpd On Linux Systems?

We can easily install Lighttpd on Linux system from distribution official repository.

For Fedora system, use DNF Command to install lighttpd.

$ sudo dnf install lighttpd lighttpd-fastcgi

For Debian/Ubuntu systems, use APT-GET Command or APT Command to install lighttpd.

$ sudo apt install lighttpd

For Arch Linux based systems, use Pacman Command to install lighttpd.

$ sudo pacman -S lighttpd

For openSUSE Leap system, use Zypper Command to install lighttpd.

$ sudo zypper install lighttpd

Once you have installed the Lighttpd package, use the following commands to start the service.

For systemd systems, run the following command.

# sytemctl start lighttpd
or
# systemctl start lighttpd.service

For SysVinit systems, run the following command.

# service lighttpd start
or
# /etc/init.d/start lighttpd

Run the following command to check the installed Lighttpd version in Linux.

# lighttpd -version
lighttpd/1.4.39 (ssl) - a light and fast webserver
Build-Date: Jan  3 2016 15:48:14

Lighttpd default page might looks like below.

About Prakash Subramanian

Prakash Subramanian is a Linux lover and has 3.5+ years of experience in linux server administration with major Linux distribution such as (RHEL, CentOS, Ubuntu). He is currently working as a Senior L2 Linux Server administrator.

View all posts by Prakash Subramanian

Leave a Reply

Your email address will not be published. Required fields are marked *