Last active
August 29, 2015 14:00
-
-
Save hectorperez/11253334 to your computer and use it in GitHub Desktop.
Apache commands
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
- apachectl configtest (check your Apache config files for any errors before restarting, because Apache will not start again if your config files have syntax errors) | |
- apachectl restart | |
- a2ensite [site] | |
- a2dissite [site] | |
- service apache2 reload | |
- service apache2 restart | |
- service apache2 stop | |
- service apache2 start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment