Skip to content

Instantly share code, notes, and snippets.

@rezigned
Last active December 16, 2015 13:29
Show Gist options
  • Save rezigned/5441969 to your computer and use it in GitHub Desktop.
Save rezigned/5441969 to your computer and use it in GitHub Desktop.
Installing Graphite on OS X Mountain Lion & Cent OS

Prerequisites

Notes

Before continuing to the installation section. Please make sure that /usr/bin/local comes before /usr/bin in your /etc/paths file.

Install python

brew install python

Install Cairo

XQuartz is required by cairo library. If you haven't installed this you can download it from here http://xquartz.macosforge.org/

brew install cairo, py2cairo

** Notes: If your system doesn't have pip installed. You can install it via sudo easy_install pip

Install Graphite and dependencies

sudo pip install carbon
sudo pip install whisper
sudo pip install django==1.4.5
sudo pip install django-tagging
sudo pip install graphite-web

** Notes: By default pip will try to download the latest version of the software so this might be a problem in some cases. Graphite has some problem when I tried to install it using latest django 1.5+. Some people suggests to use 1.4.5

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment