CentOS Install Lighttpd Web-server With yum Command
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>.
yum command.