PINE64
Install Influxdb & Grafana easy - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: General Discussion on PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=3)
+--- Thread: Install Influxdb & Grafana easy (/showthread.php?tid=4659)



Install Influxdb & Grafana easy - mrv - 06-30-2017

Maybe to share for others that want to have this installed and find that it is hard to find the right sources for the pine64

influxdb installation
The standard download page does not show the right pine packages

use the following
Code:
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
sudo source /etc/lsb-release
echo "deb https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee -a /etc/apt/sources.list.d/influxdb.list

After that simply install with
Code:
sudo apt-get update
sudo apt-get install influxdb




Grafana Installation
mainly coming from https://github.com/fg2it/grafana-on-raspberry/wiki

To get it working on the pine use the rpi2/rpi3 package.
You can install it by hand accoring to the instructions in the wiki.

If you want to keep it up2date you best use the apt installation. 


Code:
sudo apt-get install apt-transport-https curl
curl https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb [arch=armhf] https://dl.bintray.com/fg2it/deb jessie main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

the key difference here with the standard instructions is:
deb [arch=armhf] https://dl.bintray.com/fg2it/deb jessie main

Once done you can simply install

Code:
sudo apt-get update
sudo apt-get install grafana

Hope this helps you


RE: Install Influxdb & Grafana easy - xalius - 06-30-2017

Hi, thanks for writing this down!