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
...
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):
...
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:
...