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

作者:晓晨Master(李志强)

出处:https://www.cnblogs.com/stulzq/p/16092133.html

版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。

posted @   晓晨Master  阅读(558)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 【杭电多校比赛记录】2025“钉耙编程”中国大学生算法设计春季联赛(1)
more_horiz
keyboard_arrow_up dark_mode palette
选择主题
menu
点击右上角即可分享
微信分享提示