Skip to content
TrySitePrice

CentOS Install Lighttpd Web-server With yum Command

Best/Tutorial

To install the Lighttpd web server on a CentOS system using the yum command, follow these steps:

  1. Update the package index by running sudo yum update.
  2. Install Lighttpd by running the following command:

sudo yum install lighttpd

  1. Start the Lighttpd service using the following command:

sudo systemctl start lighttpd

  1. Enable Lighttpd to start automatically at boot time by running the following command:

sudo systemctl enable lighttpd

  1. 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.