如何在 Windows 操作系统上安装 influxdb 并访问管理控制台 [英] How to install influxdb on Windows OS and access Admin Console

查看:19
本文介绍了如何在 Windows 操作系统上安装 influxdb 并访问管理控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 influxdb 的新手,并尝试在我的 Windows 7 - 64 操作系统上安装它.

以下是迄今为止完成的步骤:

  1. 从以下位置下载了 .zip 文件:

    我尝试了以下链接中的步骤:

    1. 如何在 Windows 中安装 InfluxDB

    解决方案

    查找 ..influxdb-versiona.b.c.dinfluxdb.conf 文件以启用 Admin

    它是在 HOCON 格式中查找 [admin] 部分.并取消注释

    从# [admin] 到 admin

    默认会被注释#"用于HOCON格式的注释.取消注释 binding addressenabled = false

    将启用从 false 更改为 true.

    运行以下命令

    influxd -config influxdb.conf

    使用 http://localhost:8083/ url 访问管理界面.

    I am new to influxdb and trying to install it on my Windows 7 - 64 OS.

    Following are the steps done till now:

    1. Downloaded .zip file from the following location: https://dl.influxdata.com/influxdb/releases/influxdb-1.1.0_windows_amd64.zip
    2. unzipped the folder in the following location: J:commoninfluxdbinfluxdb-1.1.0_windows_amd64influxdb-1.1.0-1
    3. Launched the command prompt with admin privilages and run the following commands:

      1. cd J:commoninfluxdbinfluxdb-1.1.0_windows_amd64influxdb-1.1.0-1
      2. influxd.exe
      

    4. 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:UsersUSER_HP_2013_03.influxdbd
    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:UsersUSER_HP_2013_03.influxdbdata\_internalmo
    nitor1 database index loaded in 0s

    Question:

    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.

    and if I try connecting using http://localhost:8086, getting 404 not found.

    Help me in accessing admin console of influxdb.

    Added command prompt screenshot:

    EDIT: I tried the steps in following links:

    1. How to install InfluxDB in Windows

    解决方案

    Look for ..influxdb-versiona.b.c.dinfluxdb.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.

    这篇关于如何在 Windows 操作系统上安装 influxdb 并访问管理控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆