码迷,mamicode.com
首页 > 数据库 > 详细

influxDB的安装和简单使用

时间:2018-04-13 17:53:01      阅读:2743      评论:0      收藏:0      [点我收藏+]

标签:config   存在   集群   download   nload   restart   官方   根据   span   

单机的influxdb免费,集群的是收费的

1、安装,参考官方文档 https://portal.influxdata.com/downloads

RedHat & CentOS:

  wget https://dl.influxdata.com/influxdb/releases/influxdb-1.5.1.x86_64.rpm

  sudo yum localinstall influxdb-1.5.1.x86_64.rpm

Mac:

brew update

brew install influxdb

 

更新mac已经存在的influxdb到最新版本:brew upgrade influxdb

安装成功后的提示:

To have launchd start influxdb now and restart at login:
  brew services start influxdb
Or, if you don‘t want/need a background service you can just run:
  influxd -config /usr/local/etc/influxdb.conf

 

 

2、启动:

默认是随机启动的

sudo service influxdb start

influxd -config influxdb.conf根据配置文件启动

 

3、配置:/etc/influxdb/influxdb.conf

配置说明:https://docs.influxdata.com/influxdb/v1.5/

 

4、使用:

自带客户端,命令 influx

 

influxDB的安装和简单使用

标签:config   存在   集群   download   nload   restart   官方   根据   span   

原文地址:https://www.cnblogs.com/shengulong/p/8821219.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!