source: trunk/Monitoring/doc/README @ 880

Last change on this file since 880 was 866, checked in by jripsl, 11 years ago

Add demo scenarios.

File size: 2.0 KB
Line 
1- installation instructions
2        - LibIGCM RabbitMQ agent installation
3                - see CNClient/README
4        - Broker installation
5                - see Broker/README
6        - Supervisor installation
7                - Python installation
8                        - yum install python26
9                        - yum install python26-devel
10                        - yum install sqlite
11                        - yum install sqlite-devel
12                        - yum install python-sqlite
13                - Virtualenv installation
14                        - cd /opt/src/
15                        - wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.1.tar.gz
16                        - tar xzvf virtualenv-1.6.1.tar.gz
17                        - rm virtualenv-1.6.1.tar.gz
18                        - cd /opt/src/virtualenv-1.6.1
19                        - /usr/bin/python26 virtualenv.py --distribute --unzip-setuptools /opt/python2.6_ve
20                        - source /opt/python2.6_ve/bin/activate
21                - Python PYPI libraries installation
22                        - procedure (as root)
23                                - cd /opt
24                                - cd python2.6_ve/
25                                - cd bin
26                                - source activate
27                                - pip install <package name>
28                        - packages list
29                                - pika     # RabbitMQ client library
30                                - networkx # graph library
31                                - #pip amqplib # not used for now
32                - Prodiguer library installation
33                        - dependencies (PYPI packages)
34                                -
35                                        - pip install psycopg2
36                                                - doesn't work (Error: pg_config executable not found)
37                                                        - solution is
38                                                                - yum install python-psycopg2.x86_64
39                                                                - yum install libpqxx-devel
40                                                                - yum install python-devel
41                                                                - pip install psycopg2
42                                                                        - works
43                                        - pip install Sqlalchemy
44                                        - pip install elixir
45                                        - pip install simplejson
46                                - notes
47                                        - some Elixir/SQLAlchemy versions are not compatible.
48                                                - to be sure, you can use version below which are compatible
49                                                        - Elixir-0.7.1-py2.6.egg-info
50                                                        - SQLAlchemy-0.7.8-py2.6.egg-info
51                                                - to install specific version with pip, do
52                                                        - pip install SQLAlchemy==0.7.8
53                        - Prodiguer package
54                                - svn co svn+ssh://<login here>@forge.ipsl.jussieu.fr/ipsl/forge/projets/prodiguer/svn/sw/src/python/trunk/prodiguer_shared/src
55                                - edit "watch" script and edit line below accordingly
56                                        - sys.path.append("/home/jripsl/snapshot/src")
Note: See TracBrowser for help on using the repository browser.