鼎鼎知识库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10.InfluxDB数据库安装.md 769B

преди 5 години
12345678910111213141516171819202122232425262728
  1. - 从官网下载
  2. - 在C盘设定目录:C:\Program Files\Influx Data\influx-data
  3. - 把下载下来的拷贝到C:\Program Files\Influx Data\influx-data中
  4. - 修改conf结尾的文件
  5. ```
  6. [meta]
  7. dir="C:/Prgram Files/Influx Data/influx-data/meta"
  8. [data]
  9. dir="C:/Prgram Files/Influx Data/influx-data/data"
  10. val-dir="C:/Prgram Files/Influx Data/influx-data/wal"
  11. [http]
  12. enabled=true
  13. logging-enabled=true
  14. trace-logging-enabled=true
  15. query-logging-enabled=true
  16. ```
  17. - 运行`influxd.exe`
  18. - 浏览:localhost:8086/query
  19. ```
  20. 返回信息:{"error":"missing required parameter\"q\"}
  21. ```
  22. - 作为服务运行
  23. ```
  24. sc create "influxdb" binPath= "C:/Prgram Files/Influx Data/influx-data/influxd.exe"
  25. sc delete influxdb
  26. ```
  27. - 查看服务:`services.msc`