Install Grafana on Ubuntu 16.04 LTS

前端之家收集整理的这篇文章主要介绍了Install Grafana on Ubuntu 16.04 LTS前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Add the grafana repository key

curl https://packagecloud.io/gpg.key | sudo apt-key add -

Create repository file for influxdb.

echo "deb https://packagecloud.io/grafana/stable/debian/ jessie main" | sudo tee /etc/apt/sources.list.d/grafana.list

Update apt Metadata by running command below.

apt update

Now we are ready to install grafana.

apt install grafana

configure grafana to start automatically using systemd

sudo /bin/systemctl daemon-reload
 sudo /bin/systemctl enable grafana-server

start grafana-server

sudo /bin/systemctl start grafana-server

or

sudo service grafana-server start
原文链接:https://www.f2er.com/ubuntu/352507.html

猜你在找的Ubuntu相关文章