Last active
March 20, 2019 06:01
-
-
Save ggoboogy/08fb8febbd3cc09ae033ebd9418922d7 to your computer and use it in GitHub Desktop.
Setup Influx Database and Grafana on Ubuntu
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
# 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