Code in this video_Grafana – How to Install Grafana on Ubuntu | Debian-based

📌 Replace the highlighted information with your own

My Database

Database Name: grafana_db
Database User: grafana_db_user
Database Password: grafana_db_PWD

CREATE DATABASE grafana_db;

CREATE USER grafana_db_user@localhost IDENTIFIED BY 'grafana_db_PWD';

GRANT ALL PRIVILEGES ON grafana_db.* TO grafana_db_user@localhost;

sudo apt install -y software-properties-common curl gpg

curl -fsSL https://packages.grafana.com/gpg.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/grafana.gpg > /dev/null

echo "deb [signed-by=/etc/apt/trusted.gpg.d/grafana.gpg] https://packages.grafana.com/oss/deb stable main" | sudo tee /etc/apt/sources.list.d/grafana.list

Leave a Reply

Your email address will not be published. Required fields are marked *