11.2. Running the httpd
Service
This section describes how to start, stop, restart, and check the current status of the Apache HTTP Server. To be able to use the httpd
service, make sure you have the httpd installed. You can do so by using the following command:
11.2.1. Starting the Service
To run the httpd
service, type the following at a shell prompt:
~]# service httpd start
Starting httpd: [ OK ]
If you want the service to start automatically at the boot time, use the following command:
~]# chkconfig httpd on
If running the Apache HTTP Server as a secure server, a password may be required after the machine boots if using an encrypted private SSL key.