Grafana安裝ubuntu
安裝系統爲Ubuntu,配置grafana apt源bash
# sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"
添加gpg祕鑰spa
# wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
更新apt源而且安裝grafanacode
# sudo apt-get update # sudo apt-get install grafana
注:在ubuntu老的版本可能須要安裝apt-transport-https
server
# sudo apt-get install -y apt-transport-https
啓動grafana服務並啓動blog
加入開機自啓動 # systemctl enable grafana-server 啓動grafana服務 # systemctl start grafana-server