Fedora Linux: Start / Stop / Restart Apache Server

htt‮sp‬://www.lautturi.com
Fedora Linux: Start / Stop / Restart Apache Server

To start, stop, or restart the Apache HTTP Server on a Fedora Linux system, you can use the systemctl command. Here are the commands you can use:

To start the Apache HTTP Server:

sudo systemctl start httpd

To stop the Apache HTTP Server:

sudo systemctl stop httpd

To restart the Apache HTTP Server:

sudo systemctl restart httpd

Note: these commands assume that the Apache HTTP Server is installed and configured to use systemd. If you are using a different init system (such as init.d or upstart), you may need to use different commands to control the Apache HTTP Server.

It's also worth noting that you may need to use sudo to run these commands, depending on your system configuration and the privileges of your user account.

Created Time:2017-10-28 20:14:17  Author:lautturi