apt update && apt dist-upgrade dpkg-reconfigure locales dpkg-reconfigure tzdata apt-get install -y apt-transport-https gnupg2 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 update apt-get install grafana systemctl daemon-reload systemctl enable grafana-server --now