[ome-users] Web interface on ubuntu

Bernhard Holländer bernhard.hollaender at gmail.com
Thu Aug 12 11:31:47 BST 2010


Hi Alex!

You need to install mod_python:

$ sudo apt-get install libapache2-mod-python

> Have put this into apache2.conf
>
> --==--
> <Location "/">
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     SetEnv DJANGO_SETTINGS_MODULE omeroweb.settings
>     PythonDebug On
>     PythonPath "['/home/omero/Desktop/omero/lib/python',
> '/home/omero/Desktop/omero/var/lib',
> '/home/omero/Desktop/omero/lib/python/omeroweb'] + sys.path"
>
> </Location>

Put this in a file /etc/apach2/conf.d/mod_python.conf rather than in
apache2.conf. Start apache2
$ sudo service apache2 start
Make sure the omeroweb log folder is writable for the apache2 user
which is www-data on my system.

> Have installed python-django
Not required, django is included in the omero archive.

If you can't access http://localhost/webadmin check out the apache
logs in /var/log/apache2. If you get errors from django, check the
omeroweb log files.

Hope that helps! Bernhard



More information about the ome-users mailing list