如何在Windows操作系统上安装influxdb并访问管理控制台 [英] How to install influxdb on Windows OS and access Admin Console
问题描述
我是influxdb
的新手,正在尝试将其安装在Windows 7-64 OS上.
I am new to influxdb
and trying to install it on my Windows 7 - 64 OS.
以下是到目前为止完成的步骤:
Following are the steps done till now:
- 从以下位置下载的.zip文件: https://dl.influxdata.com/influxdb/releases/influxdb- 1.1.0_windows_amd64.zip
- 将文件夹解压缩到以下位置:
J:\common\influxdb\influxdb-1.1.0_windows_amd64\influxdb-1.1.0-1
-
使用管理员权限启动命令提示符并运行以下命令:
- Downloaded .zip file from the following location: https://dl.influxdata.com/influxdb/releases/influxdb-1.1.0_windows_amd64.zip
- unzipped the folder in the following location:
J:\common\influxdb\influxdb-1.1.0_windows_amd64\influxdb-1.1.0-1
Launched the command prompt with admin privilages and run the following commands:
1. cd J:\common\influxdb\influxdb-1.1.0_windows_amd64\influxdb-1.1.0-1
2. influxd.exe
以下是命令提示符中的显示消息:
following is the display messages in the command prompt:
[run] 2016/11/15 14:52:21 InfluxDB starting, version 1.1.0, branch master, commit 800da5732b91c816b0a097acf8887fa2af1efa1a
[run] 2016/11/15 14:52:21 Go version go1.7.3, GOMAXPROCS set to 4
[run] 2016/11/15 14:52:21 no configuration provided, using default settings
[store] 2016/11/15 14:52:21 Using data dir: C:\Users\USER_HP_2013_03\.influxdb\d
ata
[subscriber] 2016/11/15 14:52:21 opened service
[monitor] 2016/11/15 14:52:21 Starting monitor system
[monitor] 2016/11/15 14:52:21 'build' registered for diagnostics monitoring
[monitor] 2016/11/15 14:52:21 'runtime' registered for diagnostics monitoring
[monitor] 2016/11/15 14:52:22 'network' registered for diagnostics monitoring
[monitor] 2016/11/15 14:52:22 'system' registered for diagnostics monitoring
[shard-precreation] 2016/11/15 14:52:22 Starting precreation service with check
interval of 10m0s, advance period of 30m0s
[snapshot] 2016/11/15 14:52:22 Starting snapshot service
[continuous_querier] 2016/11/15 14:52:22 Starting continuous query service
[httpd] 2016/11/15 14:52:22 Starting HTTP service
[httpd] 2016/11/15 14:52:22 Authentication enabled: false
[httpd] 2016/11/15 14:52:22 Listening on HTTP: [::]:8086
[retention] 2016/11/15 14:52:22 Starting retention policy enforcement service wi
th check interval of 30m0s
[run] 2016/11/15 14:52:22 Listening for signals
2016/11/15 14:52:22 Sending usage statistics to usage.influxdata.com
[monitor] 2016/11/15 14:52:22 Storing statistics in database '_internal' retenti
on policy 'monitor', at interval 10s
[shard] 2016/11/15 14:52:40 C:\Users\USER_HP_2013_03\.influxdb\data\_internal\mo
nitor\1 database index loaded in 0s
问题:
当我尝试使用 http://localhost:8083 访问admin console
时,得到Firefox can’t establish a connection to the server at localhost:8083.
When I am trying to access admin console
using http://localhost:8083, getting Firefox can’t establish a connection to the server at localhost:8083.
,如果我尝试使用 http://localhost:8086 进行连接,则会获得404 not found
.
and if I try connecting using http://localhost:8086, getting 404 not found
.
帮助我访问influxdb的管理控制台.
Help me in accessing admin console of influxdb.
添加了命令提示符屏幕截图:
Added command prompt screenshot:
我尝试了以下链接中的步骤:
I tried the steps in following links:
推荐答案
查找..\influxdb-versiona.b.c.d\influxdb.conf
文件以启用管理员
它是HOCON格式的[admin]
部分.并取消注释
It is in HOCON format Look for [admin]
section. and uncomment it
from # [admin] to admin
默认情况下,它将被注释为#"以HOCON格式进行注释.
取消注释binding address
和enabled = false
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.
运行以下命令
influxd -config influxdb.conf
influxd -config influxdb.conf
使用http://localhost:8083/
网址访问管理界面.
Acces the Admin interface by using the http://localhost:8083/
url.
这篇关于如何在Windows操作系统上安装influxdb并访问管理控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!