Install Grafana

Video Lecture

Install Grafana Install Grafana

Description

I set up a new minimum spec Ubuntu 20.04 LTS server for the purpose of demonstrating install Grafana.

You can get cheap servers from Digital Ocean and Hetzner

Once you have connected to your new server, make sure your package lists are updated.

sudo apt update

Then ensure that the dependencies for Grafana are installed.

sudo apt-get install -y adduser libfontconfig1

Now to download the binary, and run the debian package manager.

wget https://dl.grafana.com/oss/release/grafana_7.2.0_amd64.deb
sudo dpkg -i grafana_7.2.0_amd64.deb

Note

Grafana is updated very regularly. To see the list of release version numbers available to download, visit https://github.com/grafana/grafana/tags

The install has now completed. You can now start the Grafana service

sudo service grafana-server start

Check the status

sudo service grafana-server status

Warning

If you reboot your server, the Grafana Service may not restart automatically.

You can set the Grafana service to auto restart after reboot by entering,

sudo systemctl enable grafana-server.service

Your Grafana server will be hosted at

http://[your Grafana server ip]:3000

The default Grafana login is

Username : admin Password : admin

You have the option to update your password upon first login and then be presented with the option to add a new data source and create dashboards and users.