配置源
[influxdb] name = InfluxDB Repository - RHEL \$releasever baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable enabled = 1 gpgcheck = 1 gpgkey = https://repos.influxdata.com/influxdb.key
安装
sh-4.2# yum install influxdb
启动
sh-4.2# systemctl start influxdb sh-4.2# systemctl status influxdb sh-4.2# systemctl enable influxdb
基本命令
influx # 进入influxdb
CREATE DATABASE glances # 创建数据库
SHOW DATABASES # 查看所有数据库
exit # 退出
参考地址
https://www.howtoing.com/install-glances-influxdb-grafana-to-monitor-centos-7