#!/bin/sh # To run from Internet: # sudo sh -c "$(curl -s http://apps.control2net.com/apt/install-grafana)" echo "Visit this page and follow instructions:" echo "https://grafana.com/grafana/download?platform=arm" echo "" echo "Config file: /etc/grafana/grafana.ini" echo "" echo "Install our plugin:" echo "sudo -i" echo "cd /var/lib/grafana/plugins" echo "wget http://apps.control2net.com/apt/grafana/goiot-bacnet-ws-datasource.zip" echo "unzip goiot-bacnet-ws-datasource.zip" echo "rm goiot-bacnet-ws-datasource.zip" echo "systemctl restart grafana-server.service"