(((mira los comentarios!!!)))
$ 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
$ pip install uwsgi
$ pip install django
OJO! Ver mas abajo. Lo correcto es instalar django 1.5
$ pip install django-tagging
$ export PYTHONPATH=/opt/graphite/webapp $ django-admin.py runserver --settings='graphite.settings'
$ pip install 'django<1.6'
$ django-admin.py syncdb --settings='graphite.settings'
$ pip install pycairo
ERROR! pycairo es para Python 3
$ pip install py2cairo
ERROR! No es instalable via pip
$ 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
$ 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* .
$ /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
Note: Only a member of this blog may post a comment.
$ virtualenv /opt/graphite
ReplyDelete$ 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
$ pip install uwsgi
ReplyDelete$ pip install django
ReplyDeleteOJO! Ver mas abajo. Lo correcto es instalar django 1.5
Delete$ pip install django-tagging
ReplyDelete$ export PYTHONPATH=/opt/graphite/webapp
ReplyDelete$ django-admin.py runserver --settings='graphite.settings'
$ pip install 'django<1.6'
ReplyDelete$ django-admin.py syncdb --settings='graphite.settings'
ReplyDelete$ pip install pycairo
ReplyDeleteERROR! pycairo es para Python 3
Delete$ pip install py2cairo
ReplyDeleteERROR! No es instalable via pip
Delete$ wget http://cairographics.org/releases/py2cairo-1.10.0.tar.bz2
ReplyDelete$ tar xjf py2cairo-1.10.0.tar.bz2
$ .....
ERROR! Intentar instalar pycairo para Python 2 es complicado o imposible de hacer en un virtualenv
$ cd /opt/graphite/lib
ReplyDelete$ cd python2.6/
$ cd site-packages/
$ ln -s /usr/lib64/python2.6/site-packages/cairo .
$ cd ..
$ ln -s /usr/lib64/libcairo* .
$ /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