# 下载安装
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.7.2.x86_64.rpm
sudo yum localinstall influxdb-1.7.2.x86_64.rpm
# 配置数据存储目录
mkdir -p /data/influxdb/data
chown -R influxdb:influxdb /data/influxdb/data
vi /etc/influxdb/influxdb.conf
dir = "/data/influxdb/data"
# 启动
service influxdb start
# 开启自动启动
sudo systemctl start influxdb
# 下载安装
wget https://dl.influxdata.com/chronograf/releases/chronograf-1.7.5.x86_64.rpm
sudo yum localinstall chronograf-1.7.5.x86_64.rpm
# 启动
service chronograf start
# 开启自动启动
sudo systemctl start chronograf
Web界面:http://localhost:8888/
# 下载安装
wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-5.1.4-1.x86_64.rpm
sudo yum localinstall influxdb-1.7.2.x86_64.rpm grafana-5.1.4-1.x86_64.rpm
# 启动
sudo service grafana-server start
# 开启自动启动
sudo systemctl start grafana-server
Web界面:http://localhost:3000/