Setja upp Graphite á Raspberry PI



apt-get update apt-get upgrade apt-get install -y python2.6 python-pip python-cairo python-django python-django-tagging python-configobj apt-get install -y libapache2-mod-wsgi python-twisted python-memcache python-pysqlite2 python-simplejson sqlite3 pip install whisper pip install carbon pip install graphite-web pip install pytz mkdir /etc/httpd mkdir /etc/httpd/wsgi/ chown -R www-data:www-data /etc/httpd/ wget https://raw.github.com/tmm1/graphite/master/examples/example-graphite-vhost.conf -O /etc/apache2/sites-available/graphite cd /opt/graphite/conf/ cp graphite.wsgi.example graphite.wsgi cp carbon.conf.example carbon.conf cp storage-schemas.conf.example storage-schemas.conf cd /opt/graphite/webapp/graphite cp local_settings.py.example local_settings.py chown -R www-data:www-data /opt/graphite/storage/ a2dissite default a2ensite graphite /etc/init.d/apache2 restart cd /opt/graphite/webapp/graphite python manage.py syncdb cd /opt/graphite/storage/ chown www-data:www-data graphite.db /opt/graphite/bin/carbon-cache.py start

 

 

http://raspberrypi_host 

graphite2