Created
July 26, 2019 21:59
-
-
Save feliperomero3/472493b85b64282698377b3f0a7bde1b to your computer and use it in GitHub Desktop.
Apache on Ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-18-04 | |
# Check with the systemd init system to make sure the service is running by typing: | |
sudo systemctl status apache2 | |
# To stop your web server, type: | |
sudo systemctl stop apache2 | |
# To start the web server when it is stopped | |
sudo systemctl start apache2 | |
# To stop and then start the service again | |
sudo systemctl restart apache2 | |
# If you are simply making configuration changes, Apache can often reload without dropping connections | |
sudo systemctl reload apache2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment