vi /etc/sysconfig/network
# Set hostname
init 6

rpm -ivh http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-5.noarch.rpm
yum install Django pycairo bitmap bitmap-fonts python-pip gcc python-devel mod_wsgi perl django-tagging
pip-python install carbon
pip-python install carbon
pip-python install whisper
pip-python install graphite-web
cd /opt/graphite/conf
cp carbon.conf.example carbon.conf
cp storage-schemas.conf.example storage-schemas.conf
cp graphite.wsgi.example graphite.wsgi
vi graphite.conf
#Create graphite.conf based off http://bazaar.launchpad.net/~graphite-dev/graphite/trunk/view/head:/examples/example-graphite-vhost.conf
setenforce 0
vi /etc/selinux/config
#Disable selinux
cd /opt/graphite/webapp/graphite
cp local_settings.py.example local_settings.py
vi local_settings.py
# Enable debug
python manage.py syncdb
cd /opt/graphite/
./bin/carbon-cache.py start
vi /etc/sysconfig/iptables
# Open up port 80 inbound
service iptables restart
chown -R apache:apache /opt/graphite/storage/