Grafana安装
安装系统为Ubuntu,配置grafana apt源
# sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
添加gpg秘钥
# wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
更新apt源并且安装grafana
# sudo apt-get update# sudo apt-get install grafana
注:在ubuntu老的版本可能需要安装apt-transport-https
# sudo apt-get install -y apt-transport-https
启动grafana服务并启动
加入开机自启动# systemctl enable grafana-server启动grafana服务# systemctl start grafana-server