Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Restart when needed (http://legevarsel.idi.ntnu.no/http://fastlege.idi.ntnu.no:8080/, endors.no)

  • sudo reboot
  • sudo apachectl restart

  • sudo service tomcat7 restart

  • sudo service postfix restart

Setup Apache2.4 (Ubuntu 13.10)

http://www.binarytides.com/install-apache-ubuntu-13-10/

Try: satre@fastlege: /etc/apache2/conf-enabled$ sudo emacs httpd.conf

Setup TomCat (on port 80 instead of Apache)

See: http://stackoverflow.com/questions/4756039/how-to-change-the-port-of-tomcat-from-8080-to-80

Setup mailserver:

Very good information (working out of the box, just 5 first commands):

http://ubuntuguide.org/wiki/Mail_Server_setup

New: http://xmodulo.com/2014/02/configure-mail-server-postfix-dovecot.html or http://www.blime.com/tag/mail-stack-delivery/

Follow-up information for virtual domains etc:

https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto

Norwegian encoding: http://blog.andrewbeacock.com/2007/01/how-to-change-your-default-locale-on.html

Enable user_mod (user directory php) and Restart Apache

...

(Eller  sudo /etc/init.d/apache2 restart and you might be done!)
(From: https://help.ubuntu.com/10.04/serverguide/php5.html) 

Complete copy of the entire post:

...