How to install grafana on ubuntu?

by wayne.swaniawski , in category: Installation & Upgrades , 2 years ago

How to install grafana on ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by kaley , 2 years ago

@wayne.swaniawski run the following commands below to install Grafana in Ubuntu:

1
2
3
4
5
6
7
sudo apt update
sudo apt-get install -y gnupg2 curl software-properties-common
curl https://packages.grafana.com/gpg.key | sudo apt-key add -
sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"

sudo apt-get update
sudo apt-get -y install grafana


by monroe.bahringer , a year ago

@wayne.swaniawski 

8


After completing the installation, start the Grafana service by running the following command:

1
sudo systemctl start grafana-server


9


To enable Grafana to start on boot, run the following command:

1
sudo systemctl enable grafana-server


10


You can access Grafana by opening a web browser and navigating to http://localhost:3000. By default, the login credentials are both "admin".


11


To secure your Grafana installation, it is recommended to change the default password. To do this, log in with the username "admin" and password "admin", then go to "Configuration" > "Users" > "admin" > "Change Password".


12


You can also optionally configure Grafana to start automatically on system boot by running the following command:

1
sudo update-rc.d grafana-server defaults


Now you have successfully installed and configured Grafana on Ubuntu. Enjoy using Grafana for your visualization needs!