[grafana] #bi #unix #dashboard
applicable to redhat, centos, aws linux
on aws host:
sudo yum update
from https://grafana.com/grafana/download
wget https://dl.grafana.com/oss/release/grafana-6.6.1-1.x86_64.rpm
sudo yum localinstall grafana-6.6.1-1.x86_64.rpm
on ubuntu
https://grafana.com/grafana/download
check the latest linux version and copy the version
wget https://dl.grafana.com/oss/release/grafana_6.2.5_amd64.deb
sudo dpkg -i grafana_6.2.5_amd64.deb
sudo apt-get -f install #fixes the missed dependencies
sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server
# configure grafana server to start at boot
sudo systemctl enable grafana-server.service
Main config file : /etc/grafana/grafana.ini
sudo vi /etc/grafana/grafana.ini
change port: http_port = 8883
uncomment: protocol = http
leave [database] to default (sqlite3)
set instance name manually instance_name = dip2-grafana-poc
sudo systemctl stop grafana-server
sudo systemctl start grafana-server
sudo systemctl status grafana-server
in browser: open http://grafana_host_ip:port
on a first connection use admin user and set the admin password.
Store the admin user password securely
Configure a postgres (timescaledb) datasource