1. 安装
cd /share
wget https://grafanarel.s3.amazonaws.com/builds/grafana-4.1.2-1486989747.x86_64.rpm
sudo su
yum localinstall grafana-4.1.2-1486989747.x86_64.rpm
2. 配置
修改/etc/grafana/grafana.ini文件,将enable anonymous access和allow_embedding设置为ture,否则前端页面访问grafana的时候会无法访问,并且修改完成之后重启grafana服务。
sudo vi /etc/grafana/grafana.ini
配置如下:
#################################### Anonymous Auth ##########################
[auth.anonymous]
# enable anonymous access
;enabled = true
3. 启动
systemctl start grafana-server
systemctl stop grafana-server
systemctl disable grafana-server
systemctl enable grafana-server
systemctl status grafana-server
4. 验证
Web UI:http://bigdata-node1:3000 (admin/admin)
参考
博客园:Grafana模板操作指南
https://www.cnblogs.com/xuliuzai/p/11134714.html
CSDN:Grafana Dashboard全面解析
https://blog.csdn.net/zzq900503/article/details/103619565
CSDN:Grafana基础知识+InfluxDB
https://blog.csdn.net/lifen0908/article/details/105246853
官网:Grafana官方模板
https://grafana.com/grafana/dashboards