×

grafana

hqy hqy 发表于2020-12-01 08:08:06 浏览1927 评论0

抢沙发发表评论

grafana

1.配置grafana的yum源

mportant; border-radius: 0px !important; background: none !important; bottom: auto !important; float: none !important; left: auto !important; line-height: 1.1em !important; outline: 0px !important; overflow: visible !important; position: static !important; right: auto !important; top: auto !important; vertical-align: baseline !important; box-sizing: content-box !important; min-height: auto !important; color: rgb(175, 175, 175) !important;" width="35" height="NaN">
1
2
[root@localhost ~]# cd  /etc/yum.repos.d/
[root@localhost yum.repos.d]# vim grafana.repo

在里面插入 

[grafana]
name=grafana
baseurl=https://packages.grafana.com/oss/rpm-beta
repo_gpgcheck=1
enabled=1
gpgcheck=1
gpgkey=https://packages.grafana.com/gpg.key
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.cr

2.yum 安装或者 传包 

1
2
[root@localhost yum.repos.d]# yum -y install grafana
[root@localhost ~]# rpm -ivh grafana-6.1.4-1.x86_64.rpm

3.关注一下 配置文件路径

1
[root@localhost ~]# vim /etc/grafana/grafana.ini

4.定义环境变量的路径

1
[root@localhost ~]# vim /etc/sysconfig/grafana-server

5.启动 设置开机自启

1
2
3
4
[root@localhost ~]# systemctl restart grafana-server
 
[root@localhost ~]# systemctl enable grafana-server
Created symlink from /etc/systemd/system/multi-user.target.wants/grafana-server.service to /usr/lib/systemd/system/grafana-server.service

  

6. 登录注册

 

 


打赏

本文链接:https://www.kinber.cn/post/1534.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

 您阅读本篇文章共花了: 

群贤毕至

访客