Skip to content

Instantly share code, notes, and snippets.

View Foorcee's full-sized avatar

Marco N. Foorcee

  • 18:47 (UTC +01:00)
View GitHub Profile
@Foorcee
Foorcee / influxdb-grafana-howto.sh
Last active July 8, 2019 18:02 — forked from otoolep/influxdb-grafana-howto.sh
Shell script to download, and configure, InfluxDB, nginx, and Grafana
#!/bin/bash
# Check out the blog post at:
#
# http://www.philipotoole.com/influxdb-and-grafana-howto
#
# for full details on how to use this script.
AWS_EC2_HOSTNAME_URL=http://169.254.169.254/latest/meta-data/public-hostname
INFLUXDB_DATABASE=test1
# Install influxdb, grafana and telegraf on a raspberrypi 3.
sudo su -
apt-get update
apt-get upgrade
apt-get install tree git runit vim
cd /opt