Install Grafana on Ubuntu 16.04 LTS

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

Add the grafana repository key

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

Create repository file for influxdb.

  1. 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.

  1. apt update

Now we are ready to install grafana.

  1. apt install grafana

configure grafana to start automatically using systemd

  1. sudo /bin/systemctl daemon-reload
  2. sudo /bin/systemctl enable grafana-server

start grafana-server

  1. sudo /bin/systemctl start grafana-server

or

  1. sudo service grafana-server start

猜你在找的Ubuntu相关文章