CentOS 7 安装 Influxdb & Grafana

下载安装包

# 下载安装包命令
wget https://dl.influxdata.com/influxdb/releases/influxdb-1.8.0.x86_64.rpm

# 下载过程信息
--2020-05-24 16:37:25--  https://dl.influxdata.com/influxdb/releases/influxdb-1.8.0.x86_64.rpm
Resolving dl.influxdata.com (dl.influxdata.com)... 13.35.101.70, 13.35.101.71, 13.35.101.53, ...
Connecting to dl.influxdata.com (dl.influxdata.com)|13.35.101.70|:443... connected.
HTTP request sent, awaiting response... 200 OK
  ngth: 63097404 (60M) [application/octet-stream]
Saving to: ‘influxdb-1.8.0.x86_64.rpm’

100%[===============================================================================================================================>] 63,097,404  6.90MB/s   in 11s    

2020-05-24 16:37:38 (5.32 MB/s) - ‘influxdb-1.8.0.x86_64.rpm’ saved [63097404/63097404]

 

安装

#安装 influxdb 命令
rpm -ivh influxdb-1.8.0.x86_64.rpm 

# 安装过程信息
Preparing...                          ################################# [100%]
Updating / installing...
   1:influxdb-1.8.0-1                 ################################# [100%]
Created symlink from /etc/systemd/system/influxd.service to /usr/lib/systemd/system/influxdb.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/influxdb.service to /usr/lib/systemd/system/influxdb.service.

启动服务

# 启动 influxdb 服务
service influxdb start

 

连接influxdb

# 连接influxdb
influx -precision rfc3339

#连接influx cli信息
Connected to http://localhost:8086 version 1.8.0
InfluxDB shell version: 1.8.0
> 

说明 influxdb 安装成功!

安装Grafana

wget https://dl.grafana.com/oss/release/grafana-7.0.0-1.x86_64.rpm
sudo yum install grafana-7.0.0-1.x86_64.rpm

猜你喜欢

转载自blog.csdn.net/dinghua_xuexi/article/details/106317041