Thursday, April 10, 2014

Graphite

15 comments:

  1. $ virtualenv /opt/graphite
    $ source /opt/graphite/bin/activate
    $ pip install https://github.com/graphite-project/ceres/tarball/master
    $ pip install whisper
    $ pip install carbon
    $ pip install graphite-web

    ReplyDelete
  2. $ export PYTHONPATH=/opt/graphite/webapp
    $ django-admin.py runserver --settings='graphite.settings'

    ReplyDelete
  3. $ django-admin.py syncdb --settings='graphite.settings'

    ReplyDelete
  4. $ wget http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2
    $ tar xjf py2cairo-1.10.0.tar.bz2
    $ .....

    ERROR! Intentar instalar pycairo para Python 2 es complicado o imposible de hacer en un virtualenv

    ReplyDelete
  5. $ cd /opt/graphite/lib
    $ cd python2.6/
    $ cd site-packages/
    $ ln -s /usr/lib64/python2.6/site-packages/cairo .
    $ cd ..
    $ ln -s /usr/lib64/libcairo* .

    ReplyDelete
  6. $ /opt/graphite/bin/uwsgi -H /opt/graphite --http 0.0.0.0:8000 --master --processes 4 --pythonpath /opt/graphite/webapp/graphite --wsgi-file=/opt/graphite/conf/graphite.wsgi

    ReplyDelete

Note: Only a member of this blog may post a comment.