Skip to content

Ubuntu 11.04 64bit

bwyss edited this page Mar 23, 2011 · 7 revisions

Ubuntu 11.04 64bit

apt-get install python-software-properties  
add-apt-repository ppa:openquake/ppa  
apt-get update  
apt-get install oqp

RabbitMQ will be configured to add a user and a virtualhost for celery if needed. Please copy

/usr/share/pyshared/openquake/celeryconfig.py

to a directory that’s in your PYTHONPATH and edit it so it reflects your python-celery setup if needed. Please note also that you can configure how much memory the java virtual machine should use by setting the OQ_JVM_MAXMEM environment variable. For example

export OQ_JVM_MAXMEM=3072

will configure the JVM to use 3GB of memory.
In case you want to run celeryd manually but get failures when starting it as a non-root user please make sure the permissions for /dev/shm are set as follows:

sudo chmod 01777 /dev/shm/
ls -ld /dev/shm/
drwxrwxrwt 2 root root 40 2011-02-13 11:03 /dev/shm/

Further assistance you can get help through our mailing list or on irc.freenode.net (freenode network) at #openquake.
When your installation is completed successfully please visit the running Openquake page to learn which services you need to start and how to run a smoke test or the tests suite. Enjoy!
Please help us improve the process, if you have any suggestion that could improve this documentation contact us at [email protected]
Back to Installation

Clone this wiki locally