Introduction
Apache HTTP Server, commonly referred to as Apache, is a free and open-source web server software. It is widely used for serving static and dynamic content on the World Wide Web.
This article will explain how to install Apache on Fedora 35.
Prerequisites
- A root or non-root user with
sudo
privileges.
Install Apache
-
Before we start the installation, updating the system to ensure that all packages are up-to-date is a good idea.
# sudo dnf -y update
-
After updating the system, we can proceed with the installation of Apache.
# sudo dnf -y install httpd
-
Start and enable the Apache service.
# sudo systemctl start httpd.service
# sudo systemctl enable httpd.service
Verify Apache installation
-
To verify that Apache has been installed correctly, open your web browser and access your server IP address on the browser.
If Apache has been installed correctly, you should see a page that says "Fedora Test Page powered by Apache".