OPERATING SYSTEMSOS Linux

How to Start Stop Restart Apache 2 Ubuntu 22 04

To start, stop, or restart the Apache 2 web server on Ubuntu 22.04 using the systemctl and /etc/init.d command, you can use the following commands:

1. Restart: # /etc/init.d/apache2 restart or $ sudo /etc/init.d/apache2 restart
2. Stop: # /etc/init.d/apache2 stop
3. Start: # /etc/init.d/apache2 start
4. Install: sudo systemctl stop apache2
5. Start when stopped: sudo systemctl start apache2

#for-article
#https://www.tutsmake.com/start-restart-stop-apache2-server-in-ubuntu-20-0422-04

How to Start Stop Restart Apache 2 Ubuntu 22.04
how to stop apache2 server in ubuntu
how to stop apache2 service in ubuntu
start apache 2 in ubuntu
stop apache 2 in ubuntu
restart apache2 ubuntu
restart apache2 ubuntu 22.04
how to restart apache2 in ubuntu
start and stop apache 2 ubuntu 22.04
how to start apache server in ubuntu

#start #stop #restart #apache2 #apache #ubuntu #22.04 #ubuntulinux #ubuntuserver #ubuntutraining #ubuntu22 #apache2 #startapache

source

ubuntu