Shell/Bash: start apache2 ubuntu Example

By

Shell/Bash Example: This is the "start apache2 ubuntu" Example. compiled from many sources on the internet by SimpleTutorials.org

start apache2 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

# Reload Apache 2 server on Linux/Unix "No downtime!"
sudo service apache2 reload

reinstal apache2 ubuntu

sudo apt-get --purge remove apache2
sudo apt-get autoremove
sudo apt-get install apache2
sudo /etc/init.d/apache2 restart

How to start apache2 server

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

how to stop a web server linux

# how to stop a web server linux
sudo service apache2 stop

ubuntu install apache2

sudo apt-get install apache2

apache2 ubuntu install

sudo apt install apache2


* Summary: This "start apache2 ubuntu" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others