Created
January 4, 2017 20:20
-
-
Save szukalski/8bfde9f80c0f4645c01f74c3179c25c7 to your computer and use it in GitHub Desktop.
install influxdb telegraf grafana
This file contains hidden or 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
#!/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