============================================================================== To run graphite, you will need to setup Apache by creating a vhost similar to the following: ServerName graphite DocumentRoot "%%DATADIR%%/content/" # I've found that an equal number of processes & threads tends # to show the best performance for Graphite (ymmv). WSGIDaemonProcess graphite processes=5 threads=5 inactivity-timeout=120 display-name=graphite WSGIProcessGroup graphite WSGIApplicationGroup graphite WSGIImportScript %%PREFIX%%/etc/graphite/graphite.wsgi process-group=graphite application-group=graphite # XXX You will need to create this file! There is a graphite.wsgi.example # file in this directory that you can safely use, just copy it to graphite.wgsi WSGIScriptAlias / %%PREFIX%%/etc/graphite/graphite.wsgi Alias /content/ %%DATADIR%%/content/ SetHandler None # XXX In order for the django admin site media to work you # must change @DJANGO_ROOT@ to be the path to your django # installation, which is probably something like: # /usr/lib/python2.6/site-packages/django #Alias /media/ "@DJANGO_ROOT@/contrib/admin/media/" Alias /media/ %%PYTHON_SITELIBDIR%%/django SetHandler None Alias /static/ "%%PYTHON_SITELIBDIR%%/django/contrib/admin/static/" SetHandler None Order deny,allow Allow from all # The graphite.wsgi file has to be accessible by apache. It won't # be visible to clients because of the DocumentRoot though. Order deny,allow Allow from all Order deny,allow Allow from all You should set the SECRET_KEY in %%PREFIX%%/etc/graphite/local_settings.py Then initialize the sqlite user database and create the admin user: python2 %%PYTHON_SITELIBDIR%%/graphite/manage.py syncdb Then build the index: %%PREFIX%%/bin/build-index.sh Change the ownership of the user database so the webapp can write to it: chown -R %%WWWOWN%%:%%WWWGRP%% /var/db/graphite/ /var/log/graphite/ Now you should be able to access the graphite virtual host you created in the first step. ==============================================================================