32.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 service from the command-line, enter the following at the command-prompt:
# systemctl status apache2
If the above command indicates that the httpd service is not running, it can be launched from the command-line as follows:
# systemctl start apache2
If you would like the Apache httpd service to start automatically when the system boots, run the following command:
# systemctl enable apache2