How to Stop, Start and Restart Apache on RHEL/CentOS and Ubuntu/Debian - Cloud Network

Networking | Support | Tricks | Troubleshoot | Tips

Buymecoffe

Buy Me A Coffee

Wednesday, September 25, 2019

How to Stop, Start and Restart Apache on RHEL/CentOS and Ubuntu/Debian



How to Stop, Start and Restart Apache on Linux/Fedora/CentOS and Ubuntu/LinuxMint/Debian

Apache should be installed and login with super account

1.  For Ubuntu, Linux Mint and Debian 
For Start Apache
Step1 :-


For Stop Apache
Step2 :-

For Restart Apache
Step3 :-

For Reload Apache
Step4 :-

For Automatic Reboot
Step5 :-

For Disable Apache
Step6 :-

 For Status Apache
Step7 :-



2.  For Redhat Linux, Fedora and CentOS
For Start Httpd
Step1 :-



For Stop Httpd
Step2 :-

For Restart Httpd
Step3 :-

For Reload Httpd
Step4 :-

For Enable Httpd
Step5 :-

For Disable Httpd
Step6 :-


3.  Non-Systemd Systems
For Start Apache
Step1 :-

For Stop Apache
Step2 :-


 For Restart Apache
 Step3 :-

 For Status Apache
 Step4 :-

 For Reload Apache
 Step5 :-

 For Enable Apache
 Step6 :-

For Disable Apache
Step7 :-