For When You Can't Have The Real Thing
[ start | index | login ]
start > Fedora > Server > 25 > Starting httpd

Starting httpd

Created by dave. Last edited by dave, 7 years and 140 days ago. Viewed 1,885 times. #1
[edit] [rdf]
labels
attachments

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
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt