zoukankan      html  css  js  c++  java
  • grafana安装升级部署

    环境:

    OS:Centos 7/Centos 6

    安装grafana
    1.安装
    [root@localhost soft]# rpm -ivh grafana-5.2.1-1.x86_64.rpm
    warning: grafana-5.2.1-1.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 24098cb6: NOKEY
    error: Failed dependencies:
    urw-fonts is needed by grafana-5.2.1-1.x86_64
    [root@localhost soft]# yum -y install urw-fonts


    2.启动之
    [root@localhost soft]# service grafana-server start
    查看3000端口
    [root@localhost soft]# ss -nlp|grep 3000
    tcp LISTEN 0 128 :::3000 :::* users:(("grafana-server",pid=16246,fd=8))

    3.界面访问
    http://192.168.1.118:3000/login
    初始账号密码为admin/admin
    登陆要求修改密码,我这里修改为admin123

     

    升级
    1.下载要升级的rpm包
    wget https://dl.grafana.com/oss/release/grafana-6.1.6-1.x86_64.rpm

    2.停掉原来的服务
    [root@localhost soft]# service grafana-server stop

    3.直接升级
    rpm -Uvh grafana-6.1.6-1.x86_64.rpm

     

  • 相关阅读:
    selenium操控浏览器
    DOM
    bug记录
    log日志
    linux 搭建 telnet + tftp
    linux 搭建 MeepoPS+Socket
    php常见面试题(2)
    php常见面试题(1)
    laravel 5 支付宝支付教程
    计算机进位制原理
  • 原文地址:https://www.cnblogs.com/hxlasky/p/11125343.html
Copyright © 2011-2022 走看看