Let’s study the easy and fast steps to install the Lighttpd internet server on AlmaLinux 8 utilizing the command terminal.
The long-established Apache is without doubt one of the hottest internet servers on the earth. But there are actually a number of internet servers that may maintain a candle to Apache. Lighttpd is a kind of.
lighttpd (pronounced “lighty”) is an internet server that requires far fewer sources than Apache, for instance, and is subsequently significantly nicely fitted to very massive masses or very weak methods. It was developed by Jan Kneschke and may be expanded with modules. For instance, FastCGI permits you to run PHP code. SCGI provides Ruby or Python to lighty.
Steps to install Lighttpd internet server on Almalinux 8
The steps given right here to arrange Lighttpd would be the similar for different RedHat Linux such CentOS, Rocky Linux, Oracle Linux, and extra…
1. Requirements
To carry out this tutorial we want AlmaLinux, a root or non-root consumer with sudo rights, Epel repository, and web connection.
2. Update AlmaLinux 8
Here we’ll use the DNF package deal supervisor to install the packages we have to setup Lighttpd, therefore first run the system replace command:
sudo dnf replace && sudo dnf improve
3. Enable EPEL Release
Unlike Apache, the Lighttpd package deal just isn’t out there to install through the use of the bottom repository of AlmaLinux 8. Therefore, we now have so as to add an Epel repo that has Lighttpd. Hence, run the given command so as to add EPEL (Extra Packages for Enterprise Linux).
sudo dnf install epel-release
4. Install Lighttpd on AlmaLinux 8
Once the required repository is added, subsequent use the DNF package deal supervisor to install Lighttpd identical to we do for some other open-source package deal.
sudo dnf install lighttpd
5. Start and Enable Service
Once the set up course of is accomplished, let’s run an internet server service and likewise allow the identical, in order that it could possibly begin routinely with the system boot.
To begin
sudo systemctl begin lighttpd
For Enabling:
sudo systemctl allow lighttpd
To verify the standing:
sudo systemctl standing lighttpd
To verify the model, we will use:
lighttpd -v
6. Access Test Page
To affirm the webserver is working with none error let’s entry its take a look at web page, for that we will level our internet browser to the IP deal with or area of the server the place we now have put in the Lighttpd.
For instance:
http://server-ip-address
or
http://your-domian.com
You could have the Test web page of Lighttpd:
7. Configuration
The Lighttpd is configured through the /and so on/lighttpd/lighttpd.conf
file. This may be edited with any textual content editor with root privileges. The most vital choices are briefly introduced right here. Numerous different configuration choices are described intimately within the configuration file itself.
For extra data go to the official documentation web page.
8. Lighttpd Uninstallation
Those who need to take away Lighttpd from their system then use the next instructions:
sudo systemctl cease lighttpd
sudo dnf take away lighttpd
Other Articles:
• The Right Way to Install Apache on Almalinux 8 / Rocky Linux 8
• The Right Way to Install WordPress on Lighttpd internet server- Ubuntu
• Install PrestaShop on Almalinux 8
• The Right Way to Install Cinnamon Desktop on AlmaLinux 8
Comments