You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Next »

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

Enable user_mod (user directory php) and Restart Apache

sudo emacs /etc/apache2/mods-available/php5.conf

comment away:

#    <IfModule mod_userdir.c>
#        <Directory /home/*/public_html>
#            php_admin_value engine Off
#        </Directory>
#    </IfModule>

sudo service apache2 restart

(Eller  sudo /etc/init.d/apache2 restart and you might be done!)

Complete copy of the entire post:

From http://emphaticnonsense.com/2011/10/06/enabling-apache-php-execution-in-user-directories-on-ubuntu-lucid/

 

  • No labels