Centos 7最小化InfluxDB部署
配置源
[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
心若向阳,无谓悲伤!