Skip to content

Instantly share code, notes, and snippets.

@szukalski
Created January 4, 2017 20:20
Show Gist options
  • Save szukalski/8bfde9f80c0f4645c01f74c3179c25c7 to your computer and use it in GitHub Desktop.
Save szukalski/8bfde9f80c0f4645c01f74c3179c25c7 to your computer and use it in GitHub Desktop.
install influxdb telegraf grafana
#!/bin/bash
# 2017-01-04 : Install influxdb, telegraf, and grafana on ubuntu 16.04.1 LTS
curl -sL https://repos.influxdata.com/influxdb.key | apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | tee /etc/apt/sources.list.d/influxdb.list
curl https://packagecloud.io/gpg.key | apt-key add -
echo "deb https://packagecloud.io/grafana/stable/debian/ jessie main" | tee /etc/apt/sources.list.d/grafana.list
apt-get update
apt-get install grafana influxdb telegraf -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment