Skip to content

Instantly share code, notes, and snippets.

@leeuwte
Created August 2, 2017 08:40
Show Gist options
  • Save leeuwte/31f0aff2db78ca4a4f461a3ce0236146 to your computer and use it in GitHub Desktop.
Save leeuwte/31f0aff2db78ca4a4f461a3ce0236146 to your computer and use it in GitHub Desktop.
Installing InfluxDB and Grafana
# check latest version at https://packages.debian.org/sid/armhf/influxdb/download
wget http://ftp.de.debian.org/debian/pool/main/i/influxdb/influxdb_1.1.1+dfsg1-4+b1_armhf.deb
sudo dpkg -i influxdb_1.1.1+dfsg1-4+b1_armhf.deb
# download Grafana via https://github.com/fg2it/grafana-on-raspberry/
wget https://bintray.com/fg2it/deb/download_file?file_path=main%2Fg%2Fgrafana_4.3.2_armhf.deb -O grafana.deb
sudo dpkg -i grafana.deb
# it might fail (was in my case) with the error 'Package libfontconfig is not installed'
# install it with
sudo apt-get install libfontconfig
# when you get the error 'libfontconfig1 : Depends: fontconfig-config (>= 2.11.0-6.3+deb8u1) but it is not going to be installed'
# enter the following to force the install
sudo apt-get -f install
# now try again installing Grafana
# in the log you see;
### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable grafana-server
### You can start grafana-server by executing
sudo /bin/systemctl start grafana-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment