Grafana安装与部署

  1. Grafana下载
#wget  https://mirrors.huaweicloud.com/grafana/7.0.6/
  1. 若安装时报错:
warning:  xxxxxxx Header V4 RSA/SHA1 Signature, key ID 24098cb6: NOKEY
error: Failed dependencies:
fontconfig is needed by grafana-xxx.x86_64
urw-fonts is needed by grafana-xxxx.x86_64

表示缺少依赖,则应先安装上依赖包,再进行安装grafana
yum install --downloadonly --downloaddir=./fontconfig
yum localinstall fontconfig-2.13.0-4.3.el7.x86_64.rpm
yum install --downloadonly --downloaddir=./urw-fonts
yum localinstall urw-fonts-2.4-16.el7.noarch.rpm
  1. 最后安装
[root@localhost ~]# rpm  -ivh grafana-7.0.6-1.x86_64.rpm
警告:grafana-7.0.6-1.x86_64.rpm: 头V4 RSA/SHA256 Signature, 密钥 ID 24098cb6: NOKEY
准备中...                          ################################# [100%]
正在升级/安装...
   1:grafana-7.0.6-1                  ################################# [100%]
### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
 sudo /bin/systemctl daemon-reload
 sudo /bin/systemctl enable grafana-server.service
### You can start grafana-server by executing
 sudo /bin/systemctl start grafana-server.service
POSTTRANS: Running script
  1. 启动
 sudo /bin/systemctl start grafana-server.service

5、浏览器输入IP:3000进行登录
默认用户密码:admin/admin
在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值