Loading

Grafana 安装

环境 CentOS 8

官方文档 https://grafana.com/docs/grafana/latest/installation/rpm/

1. 安装

sudo nano /etc/yum.repos.d/grafana.repo

写入配置

[grafana]
name=grafana
baseurl=https://packages.grafana.com/enterprise/rpm
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
yum update
yum install grafana

2.启动

验证服务

sudo systemctl daemon-reload
sudo systemctl start grafana-server
sudo systemctl status grafana-server

开启启动

sudo systemctl enable grafana-server

访问 http://localhost:3000 默认用户名密码 admin

posted @ 2022-04-02 14:58  晓晨Master  阅读(555)  评论(0编辑  收藏  举报