Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
install graphite on mavericks
#!/usr/bin/env bash
# download and install xquartz
# so deps
brew install cairo memcached
# python deps
sudo easy_install pip
sudo pip install django
sudo pip install django-tagging
sudo pip install python-memcached
sudo pip install txamqp
sudo pip install pytz
sudo pip install pyparsing
# opt
sudo mkdir /opt
sudo chown `whoami` /opt
mkdir /opt/graphite
cd /opt
# libs
git clone
git clone
git clone
git clone
cd /opt/ceres
sudo python install
cd /opt/whisper
sudo python install
cd /opt/carbon
python install
cd /opt/graphite-web
python install
cd webapp
mkdir -p ../storage/log/webapp
python syncdb
cd /opt/graphite/conf
cp aggregation-rules.conf.example aggregation-rules.conf
cp carbon.conf.example carbon.conf
cp dashboard.conf.example dashboard.conf
cp graphTemplates.conf.example graphTemplates.conf
cp relay-rules.conf.example relay-rules.conf
cp rewrite-rules.conf.example rewrite-rules.conf
cp storage-aggregation.conf.example storage-aggregation.conf
cp storage-schemas.conf.example storage-schemas.conf
cp graphite.wsgi.example graphite.wsgi
cd /opt/graphite
mkdir -p storage/log/carbon-cache
./bin/ –debug start
./bin/ .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.