Last active
August 29, 2015 14:00
-
-
Save kenjiskywalker/11192200 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# basic graphte and httpd install | |
# https://github.com/graphite-project/graphite-web | |
# Ver. 0.9.12 | |
rpm -ivh http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
yum install -y python-devel pycairo Django django-tagging python-twisted python-zope-interface fontconfig fontconfig-devel mod_wsgi python-pip pytz pyparsing python-memcached memcached | |
yum install -y httpd | |
pip-python install whisper | |
pip-python install carbon | |
pip-python install graphite-web | |
pip-python install daemonize | |
cp /opt/graphite/conf/carbon.conf.example /opt/graphite/conf/carbon.conf | |
cp /opt/graphite/conf/storage-schemas.conf.example /opt/graphite/conf/storage-schemas.conf | |
cp /opt/graphite/conf/graphite.wsgi.example /opt/graphite/conf/graphite.wsgi | |
cp /opt/graphite/examples/example-graphite-vhost.conf /etc/httpd/conf.d/graphite.conf | |
cp /opt/graphite/webapp/graphite/local_settings.py.example /opt/graphite/webapp/graphite/local_settings.py | |
cd /opt/graphite/webapp/graphite | |
echo "yes" | python manage.py syncdb | |
sed -i -e 's/from twisted.scripts._twistd_unix import daemonize/import daemonize/' /opt/graphite/lib/carbon/util.py | |
chown -R apache /opt/graphite/storage/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment