Centos 7最小化InfluxDB部署

配置源

[influxdb]
name = InfluxDB Repository - RHEL \$releasever
baseurl = https://repos.influxdata.com/rhel/\$releasever/\$basearch/stable
enabled =
gpgcheck =
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

上一篇:warning: directory not found for option ' '


下一篇:关于腾讯云服务器不能用公网ip访问的解决方案