-
Notifications
You must be signed in to change notification settings - Fork 1
Gentoo Installation instructions
Gentoo Installation instructions
Part 1: Emerge packages
You need the following packages from the portage tree:
Package | Version | unstable? |
dev-python/lxml | 2.2.8 | |
dev-python/pyyaml | 3.09 | |
dev-python/sphinx | 1.0.5 | |
dev-python/nose | 0.11.4 | |
sci-libs/scipy | 0.7.2-r1 | |
dev-python/numpy | 1.4.1 | |
dev-python/django | 1.2.3 | |
dev-python/python-gflags | 1.4 | ~x86 |
dev-python/paramiko | 1.7.6 | |
dev-python/fabric | 0.9.3 | ~x86 |
sci-libs/gdal | 1.6.3-r1 | |
dev-python/matplotlib | 1.0.0 | |
dev-python/guppy | 0.1.9 | ~x86 |
dev-java/ant | 1.7.1 | |
virtual/jdk | 1.6.0 |
Before emerging, set the ~x86 keyword for the unstable packages in the /etc/portage/package.keywords file to let emerge know you want the newest, unstable version:
echo dev-python/python-gflags ~x86 >> /etc/portage/package.keywords echo dev-python/paramiko ~x86 >> /etc/portage/package.keywords echo dev-python/guppy ~x86 >> /etc/portage/package.keywords
You can emerge all these packages at once with the following command (as root):
emerge -va dev-python/lxml dev-python/pyyaml dev-python/sphinx dev-python/nose \ sci-libs/scipy dev-python/numpy dev-python/django dev-python/python-gflags \ dev-python/paramiko dev-python/fabric sci-libs/gdal dev-python/matplotlib \ dev-python/guppy dev-java/ant virtual/jdk
Part 2: Manually install additional packages
Some of the packages required to run OpenQuake are not (yet) available in the portage tree, or are outdated. Therefore, some manual installations are necessary.
Python packages:
Package | Version | URL |
jpype | 0.5.4 | http://jpype.sourceforge.net/ |
geohash | 0.7.1 | https://code.google.com/p/python-geohash/ |
shapely | 1.2.08 | http://pypi.python.org/pypi/Shapely |
Celery | 2.2.2 | http://pypi.python.org/pypi/celery#downloads |
Make sure you get the right version of geohash, there are two (the other is called “Geohash” with capital G. )
Each of these needs to be unpacked and then built and installed with:
cd <<package-version>> python setup.py build # as user python setup.py install # as root
Servers
REDIS:
Use the stable version from (2.0.4) from http://redis.io/download
None of the versions available in portage work with OpenQuake (1.2.5, 2.2.0_rc4).
You don’t need to install it, just unpack it and start it right there where you unpacked it. It works fine with the default settings.
cd redis-<<version>> redis-server # as root
RABBITMQ:
Download the generic unix version 2.3.1-1 from http://www.rabbitmq.com/server.html
This newest version is not yet available in portage.
Unpack and start it with:
cd rabbitmq-<<version>> sbin/rabbitmq-server # as root
Then follow the instructions on the http://openquake.org/documentation/installation/ page to create the celery users etc. using sbin/rabbitmqctl
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