Here I will show you how to install Grafana on a headless Debian server using the last current (at the time) stable release.

First, make sure your Debian server is up to date:

sudo apt-get update && apt-get upgrade

Download the Grafana stable release. I put theese packages in the /tmp folder:

cd /tmp/
sudo wget

Install adduser and libfontconfig:

sudo apt-get install -y adduser libfontconfig

Unpack grafana:

sudo dpkg -i grafana_5.4.3_amd64.deb

Start Grafana server:

systemctl unmask grafana-server.service
systemctl start grafana-server

You should now reach your server on the standard webport for Grafana: