How to Install Prometheus and Grafana on Ubuntu
Prometheus scrapes metrics; Grafana graphs them. On a lab VPS you can install both from apt or official packages.
Steps
Fast path with Ubuntu packages (distro versions):
sudo apt updatesudo apt install -y prometheus prometheus-node-exporter grafanaStart the services: