To install the Lighttpd web server on a CentOS system using the yum
command, follow these steps:
- Update the package index by running
sudo yum update
. - Install Lighttpd by running the following command:
sudo yum install lighttpd
- Start the Lighttpd service using the following command:
sudo systemctl start lighttpd
- Enable Lighttpd to start automatically at boot time by running the following command:
sudo systemctl enable lighttpd
- Verify the installation by accessing the default Lighttpd page in your web browser at
http://<server-ip>
.
That’s it! You have successfully installed Lighttpd on your CentOS system using the yum
command.