Monday, May 15, 2017

[InfluxDB] Install and setup InfluxDB

Download the source and install

$ wget https://s3.amazonaws.com/influxdb/influxdb_0.12.1-1_amd64.deb
$ sudo dpkg -i influxdb_0.12.1-1_amd64.deb

Edit influxdb.conf file

$ vim /etc/influxdb/influxdb.conf

螢幕快照 2016-04-13 下午2.42.58.png

Restart influxDB

$ sudo service influxdb restart
   influxdb process was stopped [ OK ]
   Starting the process influxdb [ OK ]
   influxdb process was started [ OK ]

$ sudo netstat -naptu | grep LISTEN | grep influxd
tcp6       0      0 :::8083                 :::*                    LISTEN      3558/influxd  
tcp6       0      0 :::8086                 :::*                    LISTEN      3558/influxd  
tcp6       0      0 :::8088                 :::*                    LISTEN      3558/influxd


Client command tool 

$influx
> show databases

No comments: