Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Red Hat Enterprise Linux 9 Essentials Book now available.

Purchase a copy of Red Hat Enterprise Linux 9 (RHEL 9) Essentials

Red Hat Enterprise Linux 9 Essentials Print and eBook (PDF) editions contain 34 chapters and 298 pages

Preview Book

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:
~]# yum install httpd
For more information on the concept of runlevels and how to manage system services in Red Hat Enterprise Linux in general, refer to Chapter 7, Controlling Access to Services.

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
This will enable the service for runlevel 2, 3, 4, and 5. Alternatively, you can use the Service Configuration utility as described in Section 7.2.1.1, “Enabling the Service”.

Note: Using the Secure Server

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.

 
 
  Published under the terms of the Creative Commons License Design by Interspire