Answers for "apache stop in ubuntu"

21

restart apache ubuntu

# Restart Apache 2 server on Linux/Unix
sudo service apache2 restart

# Start Apache 2 server on Linux/Unix
sudo service apache2 start

# Stop Apache 2 server on Linux/Unix
sudo service apache2 stop
Posted by: Guest on July-02-2020
5

stop apache server

# On Ubuntu
## Start command ##
systemctl start apache2.service
## Stop command ##
systemctl stop apache2.service
## Restart command ##
systemctl restart apache2.service
Posted by: Guest on December-20-2020
1

restart apache ubuntu

# Restart apche 2 server.
sudo service apache2 restart 
or
sudo systemctl restart apache2


# Gracefully reloading is a bit faster, and there's no downtime
sudo service apache2 reload
Posted by: Guest on February-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language