Install and configure a Grafana server

From techdocs
Revision as of 14:02, 19 August 2022 by Jbc (talk | contribs) (initial stub)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Create a bare-bones nw server - no host-classes needed, just an IP address and host
  • Add the Grafana repository to /etc/apt/sources.list.d/grafana.list:

deb https://packages.grafana.com/enterprise/deb stable main

  • Grab the Grafana gpg key to allow installation from the repository:

apt install -y apt-transport-https software-properties-common wget gnupg

wget -q -O - https://packages.grafana.com/gpg.key

cat gpg.key | gpg --dearmor -o /etc/apt/trusted.gpg.d/grafana.gpg

  • Install the Grafana package

apt update && apt install grafana-enterprise