Centos 安装 Grafana

前提条件:  Centos 二进制安装 Prometheus 

1.下载安装

  下载地址:https://grafana.com/grafana/download?pg=get&plcmt=selfmanaged-box1-cta1&edition=oss

wget https://dl.grafana.com/oss/release/grafana-9.3.2-1.x86_64.rpm
sudo yum install grafana-9.3.2-1.x86_64.rpm

2.开机自启并启动

systemctl start grafana-server
systemctl enable grafana-server

3.防火墙开放端口

firewall-cmd --zone=public --add-port=3000/tcp --permanent //添加端口
firewall-cmd --reload    //重载
firewall-cmd --zone=public --query-port=3000/tcp    //查询端口开放是否成功

4.初始化

  访问 http:ip:3000  初始化账号和密码均为 admin

 

作者:奇

出处:https://www.cnblogs.com/fanqisoft/p/17049292.html

版权:本作品采用「本文版权归作者和博客园共有,欢迎转载,但必须给出原文链接,并保留此段声明,否则保留追究法律责任的权利。」许可协议进行许可。

posted @   SpringCore  阅读(539)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
历史上的今天:
2019-01-13 SpringMVC跨重定向请求传递数据
more_horiz
keyboard_arrow_up light_mode palette
选择主题
点击右上角即可分享
微信分享提示