Skip to content

Instantly share code, notes, and snippets.

@ggoboogy
Last active March 20, 2019 06:01
Show Gist options
  • Save ggoboogy/08fb8febbd3cc09ae033ebd9418922d7 to your computer and use it in GitHub Desktop.
Save ggoboogy/08fb8febbd3cc09ae033ebd9418922d7 to your computer and use it in GitHub Desktop.
Setup Influx Database and Grafana on Ubuntu
# influxDB installation
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update && sudo apt-get install influxdb
sudo service influxdb start
# grafana installation
wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.4.3_amd64.deb /home/ubuntu/
sudo apt-get install -y adduser libfontconfig
sudo dpkg -i /home/ubuntu/grafana_5.4.3_amd64.deb
sudo service grafana-server start
# telegraf installation
wget -qO- https://repos.influxdata.com/influxdb.key | sudo apt-key add -
source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update && sudo apt-get install telegraf
sudo service telegraf start
# chronograf installation
wget https://dl.influxdata.com/chronograf/releases/chronograf_1.7.7_amd64.deb
sudo dpkg -i chronograf_1.7.7_amd64.deb
sudo service chronograf start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment