Here are the commands to start, stop, enable and get the status of Apache on RHEL and CentOS.

<pre lang="bash">systemctl enable httpd  # enable on bootup
systemctl status httpd  # get status
systemctl start httpd   # start
systemctl stop httpd    # stop
systemctl restart httpd # restart