Skip to main content

Starting httpd

Problem

How do I start up httpd in this brave new systemd world?

Solution

Firewall (note your zone will be different if you are not using Fedora Server):

# firewall-cmd --zone=FedoraServer --add-port=80/tcp --permanent
# firewall-cmd --reload

Boot time:

# systemctl enable httpd

The rest of the start/stop/status things can be done traditionally as there are redirects into the appropriate systemd commands (at least for now):

# service httpd start
# service httpd status
# service httpd stop