Grafana使用教程之安装
2018-01-31 10:54
495 查看
环境CentOS Linux release 7.3.1611
(查看centos版本 cat /etc/redhat-release)
安装Grafana
通过yum直接安装Grafana
(查看centos版本 cat /etc/redhat-release)
安装Grafana
通过yum直接安装Grafana
sudo yum install https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-4.6.3-1.x86_64.rpm[/code]
将grafana-server添加到系统启动项sudo systemctl enable grafana-server.service
启动grafana-server$ systemctl daemon-reload //#重新载入 systemd,扫描新的或有变动的单元 $ systemctl start grafana-server $ systemctl status grafana-server
访问grafana 我是在192.168.1.1上面安装的,grafana服务端默认访问端口是3000,访问地址为192.168.1.1:3000,初次访问时打不开,查了下防火墙,发现3000端口没有打开。[root@localhost grafana]# firewall-cmd --list-ports 5000/udp 80/tcp 5044/tcp 8080/tcp 9200/tcp 5043/tcp 9100/tcp 10050/tcp 5601/tcp 5000/tcp 给防火墙添加3000端口 [root@localhost grafana]# firewall-cmd --add-port=3000/tcp --zone=public --permanent Success [root@localhost grafana]# firewall-cmd --reload success [root@localhost grafana]# firewall-cmd --list-ports 3000/tcp 5000/udp 80/tcp 5044/tcp 8080/tcp 9200/tcp 5043/tcp 9100/tcp 10050/tcp 5601/tcp 5000/tcp
已添加3000端口,再次访问,成功。
参考:http://docs.grafana.org/installation/rpm/
相关文章推荐
- grafana使用教程之安装worldPing插件
- NLite教程:使用nLite制作windows XP自动安装盘
- 我的美丽天使(My Fair Angel)入门经典教程(下载 安装 汉化 使用)
- 使用.NET创建Windows系统服务及安装完全教程(收藏)
- SERV-U 7 的安装和基本使用方法教程
- 使用.NET 创建Windows系统服务及安装完全教程
- Openads,phpadsnew广告统计系统,中文安装和使用说明,教程完整版
- JDK6_TOMCAT6_Eclipse3.3_Myeclipse 6.0安装使用_破解_下载教程
- Symbian内存泄露检查工具HookLogger安装及使用教程
- Photoshop入门教程:字体安装及使用
- VMware 6.5安装使用教程
- MRTG教程(一):MRTG的安装与使用
- sniffer抓包工具安装过程 附使用教程
- 使用教程:Virtual PC安装使用完全指南
- rsync安装配置使用教程
- Dev-C++ 安装&使用教程
- MED-V使用教程之一服务器配置安装
- RH9安装SVN+win用户使用---新手入门教程 推荐
- 黑莓GPS导航软件的安装和使用详细教程
- phpMyAdmin下载、安装和使用入门教程