Follow these steps to install graphite on OS X Mavericks.
- Homebrew
- Python 2.7
- Git
brew install cairo
brew install py2cairo
pip install Django==1.5
pip install django-tagging
sudo pip install carbon
pip install whisper
sudo pip install graphite-web
sudo pip install Twisted==11.1.0
sudo chown -R <your username>:staff /opt/graphite
cp /opt/graphite/conf/carbon.conf{.example,}
cp /opt/graphite/conf/storage-schemas.conf{.example,}
cd /opt/graphite/webapp/graphite
# Modify this file to change database backend (default is sqlite).
cp local_settings.py{.example,}
# Initialize database
python manage.py syncdb
python /opt/graphite/bin/carbon-cache.py start
python /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite
Go to:
http://localhost:8080
You should see this if it works properly:
If you get a broken image, it most likely means that something is wrong py2cairo and cairo.
Check the debug output here:
http://localhost:8080/render
Add this to your .bashrc or .bash_profile:
alias carbon='python /opt/graphite/bin/carbon-cache.py'
alias graphite-web='python /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite'
@slowenthal / @fgbreel:
I am running into same issue (Mac OS 10.10.5)
while trying to go back to old version, versions command itself is not supported now, any idea on how to resolve it
$ brew versions cairo
Error: The
versions
command is no longer supported.You can use the homebrew-versions tap instead:
https://github.com/Homebrew/homebrew-versions
Or use
brew log
to browse the git history.$ brew tap homebrew/boneyard
Warning: Already tapped!
$ brew versions cairo
Error: The
versions
command is no longer supported.You can use the homebrew-versions tap instead:
https://github.com/Homebrew/homebrew-versions
Or use
brew log
to browse the git history.$ brew tap homebrew/versions
Warning: Already tapped!
$ brew versions cairo
Error: The
versions
command is no longer supported.You can use the homebrew-versions tap instead:
https://github.com/Homebrew/homebrew-versions
Or use
brew log
to browse the git history.$