1、首先從官網上下載相應的包,網址為:http://grafana.org/download
2、安裝
cd Downloads
sudo dpkg -i grafana_4.1.2-1486989747_amd64.deb
3、運行
sudo /bin/systemctl start grafana-server
4、登錄web
http://localhost:3000
注:進入/usr/share/grafana/conf查看相關配置信息
Start the server (init.d service)
Start Grafana by running:
$ sudo service grafana-server start
This will start the grafana-server process as the grafana user, which was created during the package installation. The default HTTP port is 3000 and default user and group is admin.
To configure the Grafana server to start at boot time:
$ sudo update-rc.d grafana-server defaults
Start the server (via systemd)
To start the service using systemd:
$ systemctl daemon-reload
$ systemctl start grafana-server
$ systemctl status grafana-server
