How to install graphite on a bare metal CentOS 6.2 machine

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

rpm -ivh
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
setenforce 0
vi /etc/selinux/config
#Disable selinux
cd /opt/graphite/webapp/graphite
# Enable debug
python syncdb
cd /opt/graphite/
./bin/ start
vi /etc/sysconfig/iptables
# Open up port 80 inbound
service iptables restart
chown -R apache:apache /opt/graphite/storage/
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.