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
11.2.2. Stopping the Service
To stop the running httpd service, type the following at a shell prompt:
~]# service httpd stop
Stopping httpd: [ OK ]
To prevent the service from starting automatically at the boot time, type:
~]# chkconfig httpd off
This will disable the service for all runlevels. Alternatively, you can use the Service Configuration utility as described in Section 7.2.1.2, “Disabling the Service”.