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