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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM