Saturday, October 24, 2009

Apache 2 on Ubuntu


  • install sudo apt-get install apache2 sudo apt-get install apache2ctl apache2ctl start
  • Document root
    DocumentRoot value is set in the file:
    /etc/apache2/sites-available/default

    Note that, by default, the value is /var/www/

  • config
    /etc/apache2

  • logs
    /var/log/apache2
  • to check that nothing else is running on port 80
  • lsof -i:80    (including docker publish)
  • No comments: