Step 1 准备工作 Centos服务器
mkdir ~/grafana //创建目录
md ~/grafana
wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.2.1-1.x86_64.rpm
sudo yum localinstall grafana-5.2.1-1.x86_64.rpm
step2 : 将grafana-server添加到系统启动项
sudo systemctl enable grafana-server.service
step3: 启动grafana-server
$ systemctl daemon-reload //#重新载入 systemd,扫描新的或有变动的单元
$ systemctl start grafana-server
$ systemctl status grafana-server