Skip to content

Instantly share code, notes, and snippets.

@hectorperez
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hectorperez/11253334 to your computer and use it in GitHub Desktop.
Save hectorperez/11253334 to your computer and use it in GitHub Desktop.
Apache commands
- 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