Difference between revisions of "HowTo/InstallGraphite"

From LunaSys
Jump to navigation Jump to search
Line 1: Line 1:
 +
Taken from [http://graphite.wikidot.com/installation]
 +
And [http://graphite.wikidot.com/getting-your-data-into-graphite]
  
 
== Required packages ==
 
== Required packages ==

Revision as of 19:52, 5 February 2012

Taken from [1] And [2]

Required packages

apt-get install bzr python-sqlite python-memcache python-django python-cairo libapache2-mod-python python-zope.interface python-django-tagging python-twisted
bzr branch lp:graphite
cd graphite/
pushd whisper
python setup.py install
popd
pushd carbon
python setup.py install
pushd /opt/graphite/conf
cp carbon.conf.example carbon.conf
cp storage-schemas.conf.example storage-schemas.conf
popd
popd
python check-dependencies.py
bzr branch lp:txamqp
cd txamqp/
python setup.py install
cd ..
python setup.py install
=> setup apache mod_python
popd 
cd /opt/graphite/webapp/graphite
python manage.py syncdb
=> setup admin user
chown -R www-data:www-data /opt/graphite/storage/
vi settings.py
=> setup database, etc..
cp local_settings.py.example local_settings.py