How to Install Influxdb in Windows

How to install InfluxDB in Windows

The current 0.9 branch of influxdb is pure go and can be compiled on Windows with the following commands:

cd %GOPATH%/src/github.com/influxdb
go get -u -f ./...
go build ./...

Of course you will need go (>1.4), git and hg.

If you do not want to compile your own version, you can also find here my own Windows x86 binaries for v0.9.0-rc11:
https://github.com/adriencarbonne/influxdb/releases/download/v0.9.0-rc11/influxdb_v0.9.0-rc11.zip

To run InfluxDB, type: influxd.exe.

Or even better, create the following config file, save it as influxdb.conf and run influxd --config influxdb.conf:

reporting-disabled = true

#[logging]
#level = "debug"
#file = "influxdb.log"

[admin]
enabled = true
port = 8083

[api]
port = 8086

[data]
dir = "data"

[broker]
dir = "broker"

How to install influxdb on Windows OS and access Admin Console

Look for ..\influxdb-versiona.b.c.d\influxdb.conf file to enable Admin

It is in HOCON format Look for [admin] section. and uncomment it

from # [admin] to admin

By default, it will be commented "#" is used to comment in HOCON format.
Uncomment the binding address and enabled = false

Change the enabled from false to true.

Run the following command

influxd -config influxdb.conf

Acces the Admin interface by using the http://localhost:8083/ url.

InfluxDB installation issue on Windows

Solution
Refer to https://github.com/influxdata/influxdb/issues/8016

Go version - 1.7.5
Git version - 2.11.1
Hg version - 3.7.1

cd c:\go
mkdir projects
set "GOPATH=C:\Go\projects"
cd %gopath%
git config --global http.proxy http://user:enc_pw@IP:port
set https_proxy=https://user:enc_pw@IP:port
go get github.com/sparrc/gdm
go get github.com/influxdata/influxdb
cd src\github.com\influxdata\influxdb
go get -v -u -f ./...
C:\Go\projects\bin\gdm restore
go install ./...
go build ./...

This should help to effectively solve all the problems and you may continue with original link



Related Topics



Leave a reply



Submit