quick-docs/modules/ROOT/pages/_partials/proc_installing-httpd.adoc

28 lines
640 B
Text
Raw Normal View History

[id='installing-httpd']
2018-01-01 17:26:10 +00:00
= Installing HTTPD
This procedure describes the steps to install Apache *HTTPD* on Fedora.
. Install *HTTPD* packages.
+
----
2018-01-01 17:26:10 +00:00
# dnf install httpd -y
----
. Start the *HTTPD* service.
+
----
2018-01-01 17:26:10 +00:00
# systemctl start httpd.service
----
[NOTE]
====
To enable auto start of *HTTPD* service at boot, execute the following command:
2018-01-01 17:26:10 +00:00
----
2018-01-01 17:26:10 +00:00
# systemctl enable httpd.service
----
====
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].