Post

[Grafana] CentOS 저장소 추가 및 설치

[Grafana] CentOS 저장소 추가 및 설치

버젼별 RPM 저장소 주소

Grafana VersionPackageRepository
Grafana Enterprisegrafana-enterprisehttps://rpm.grafana.com
Grafana Enterprise (Beta)grafana-enterprisehttps://rpm-beta.grafana.com
Grafana OSSgrafanahttps://rpm.grafana.com
Grafana OSS (Beta)grafanahttps://rpm-beta.grafana.com

GPG Key 등록

1
2
$ wget -q -O gpg.key https://rpm.grafana.com/gpg.key
$ rpm --import gpg.key

Grafana 저장소 등록

path : /etc/yum.repos.d/grafana.repo

1
2
3
4
5
6
7
8
9
[grafana]
name=grafana
baseurl=https://rpm.grafana.com
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://rpm.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt

Grafana 설치

1
$ yum install -y grafana

Grafana 서비스 실행 및 자동 등록

1
2
3
4
5
6
7
# 서비스 등록을 위한 Daemon Reload 및 서비스 등록
$ systemctl daemon-reload
$ systemctl enable grafana-server.service

# 서비스 상태 확인 및 시작
$ systemctl status grafana-server
$ systemctl start grafana-server

Grafana 최초 접속 및 작업

  • 접속 포트 : 3000
  • 최초 접속 계정 : admin / admin
    • 최초 접속을 하면 비밀번호 변경을 실시
This post is licensed under CC BY 4.0 by the author.