27.5 Starting the Apache Web Server
Once the Apache server is installed and the firewall configured, the next step is to verify that the server is running and start it if necessary.
To check the status of the Apache httpd service from the command-line, enter the following at the command-prompt:
# systemctl status httpd
If the above command indicates that the httpd service is not running, it can be launched from the command-line as follows:
# systemctl start httpd
If you would like the Apache httpd service to start automatically when the system boots, run the following command:
# systemctl enable httpd