2017-12-15 04:38:29 +00:00
[id='installing-httpd']
2018-01-01 17:26:10 +00:00
= Installing HTTPD
2017-12-15 04:38:29 +00:00
This procedure describes the steps to install Apache *HTTPD* on Fedora.
. Install *HTTPD* packages.
+
----
2020-11-15 04:55:30 +00:00
# sudo dnf install httpd -y
2017-12-15 04:38:29 +00:00
----
. Start the *HTTPD* service.
+
----
2020-11-15 04:55:30 +00:00
# sudo systemctl start httpd.service
2017-12-15 04:38:29 +00:00
----
[NOTE]
====
To enable auto start of *HTTPD* service at boot, execute the following command:
2018-01-01 17:26:10 +00:00
2017-12-15 04:38:29 +00:00
----
2020-11-15 04:55:30 +00:00
# sudo systemctl enable httpd.service
2017-12-15 04:38:29 +00:00
----
====
2018-01-01 17:26:10 +00:00
Navigate to link:http://localhost[http://localhost] to access the Apache test page. You may not be able to access the server from any other host. To access the server from other hosts, see link:#opening-firewall-ports[Opening firewall ports].