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

posted @ 2019-03-07 16:20  寻真丶  阅读(137)  评论(0编辑  收藏  举报