HowTo/InstallGraphite
Jump to navigation
Jump to search
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 libapache2-mod-wsgi
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 wsgi cp /opt/graphite/conf/graphite.wsgi.example /opt/graphite/conf/graphite.wsgi cp /root/graphite/examples/example-graphite-vhost.conf /etc/apache2/sites-enabled/graphite.conf mkdir /etc/apache2/wsgi chown www-data /etc/apache2/wsgi vi /etc/apache2/sites-enabled/graphite.conf => setup servername, wsgi socket path, etc.. 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