Influxdb is an open source database for storing and analyzing time series data, and here's a brief summary of the issues I encountered during deployment and use.
In the introduction of its official website: https://influxdb.com/docs/v0.9/introduction/installation.html know influxdb can in Ubuntu,debian,redhat,os X and other systems, I tried the deployment on OS X first. With homebrew installed on OS X, deployment is easy. You only need to enter it under the terminal:
Brew Updatebrew Install Influxdb
we can. After the installation of the direct input influxdb can be started, but I started to find an error: Failed to connect to http://localhost:8086, is not interested to check what is the reason, so prepare to try on an Ubuntu virtual machine. It should be noted that, as described in the previous page, INFLUXDB should preferably be deployed on a 64-bit host. On Ubuntu 64-bit desktop, enter it successively:
wget Http://influxdb.s3.amazonaws.com/influxdb_0.9.2_amd64.debsudo dpkg-i INFLUXDB_0.9.2_AMD64.DEBSUDO/ETC/INIT.D /influxdb start
Then you can start the normal influxdb, after the start of the http://localhost:8083/can see the INFLUXDB query interface. After that, follow here: https://influxdb.com/docs/v0.9/introduction/getting_started.html introduction, you should be able to enter the influx directly under the terminal, You can connect to influxdb CLI (command line interface), but I will report "Command not found" error when I enter it under Ubuntu.
To further try Influxdb's functionality, you can only test it with its HTTP API: Https://influxdb.com/docs/v0.9/guides/writing_ Data.html, it is important to note that the example in this page has been summed up well, but if we are going to enter the constructed data ourselves, the value in the following statement cannot be changed:
Curl-i-xpost ' http://localhost:8086/write?db=mydb '--data-binary ' cpu_load_short,host=server01,region=us-west value=0.64 1434055562000000000 '
And the middle of the space can not be arbitrarily changed.
With so much to record today, you need to be able to help all the beginner's friends.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Preliminary use of Influxdb