How to Install Grafana on Ubuntu 22.04
Grafana is an open-source analytics and interactive visualization web application.
Visualize your data with Grafana on VPS-SERVER HOST.
Complete Installation Script
#!/bin/bash
# Grafana OSS Installer for Ubuntu 22.04
apt-get update
apt-get install -y apt-transport-https software-properties-common wget
wget -q -O - https://packages.grafana.com/gpg.key | apt-key add -
echo "deb https://packages.grafana.com/oss/deb stable main" | tee -a /etc/apt/sources.list.d/grafana.list
apt-get update
apt-get install -y grafana
systemctl daemon-reload
systemctl start grafana-server
systemctl enable grafana-server.service