Skip to content

Instantly share code, notes, and snippets.

@tylerdave
Forked from GregMefford/setup-statsd-centos.sh
Last active August 29, 2015 13:57
Show Gist options
  • Save tylerdave/9555058 to your computer and use it in GitHub Desktop.
Save tylerdave/9555058 to your computer and use it in GitHub Desktop.
Basic install and setup for Bucky (statsd replacement) on CentOS. This is a work in progress.
# I'm starting with a clean CentoOS 6.5 install on Rackspace Cloud (which includes EPEL by default.)
# Install yum packages
# TODO: Install Python stuff into virtualenv rather than from yum packages
yum -y install python-whisper python-carbon graphite-web python-memcached python-ldap httpd memcached python-bucky
# ===== BEGIN MANUAL STEP =====
# run syncdb to setup the db and prime the authentication model (if you're using the DB model)
python /usr/lib/python2.6/site-packages/graphite/manage.py syncdb
# ===== END MANUAL STEP =====
# --- Allow HTTP through firewall --- #
iptables -I INPUT 5 -m state --state NEW -p tcp --dport 80 -j ACCEPT
iptables-save > /etc/sysconfig/iptables
service carbon-cache restart
service memcached restart
service httpd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment