본문 바로가기

리눅스

[리눅스] grafana 설치

728x90

grafana 설치

테스트 환경

$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

grafana 설치

apt install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
echo "deb https://packages.grafana.com/oss/deb stable main" | tee -a /etc/apt/sources.list.d/grafana.list
curl -sL https://packages.grafana.com/gpg.key | sudo apt-key add -
apt update
apt install -y grafana
systemctl enable --now grafana-server
grafana-server -v
$ grafana-server -v
Version 9.0.2 (commit: 0641b5d0cd, branch: HEAD)

grafana UI

http://{Server-IP}:3000

admin / admin

 

728x90