|
@@ -0,0 +1,28 @@
|
|
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
|
+
|
|
14
|
+ logging-enabled=true
|
|
15
|
+ trace-logging-enabled=true
|
|
16
|
+ query-logging-enabled=true
|
|
17
|
+```
|
|
18
|
+- 运行`influxd.exe`
|
|
19
|
+- 浏览:localhost:8086/query
|
|
20
|
+```
|
|
21
|
+返回信息:{"error":"missing required parameter\"q\"}
|
|
22
|
+```
|
|
23
|
+- 作为服务运行
|
|
24
|
+```
|
|
25
|
+sc create "influxdb" binPath= "C:/Prgram Files/Influx Data/influx-data/influxd.exe"
|
|
26
|
+sc delete influxdb
|
|
27
|
+```
|
|
28
|
+- 查看服务:`services.msc`
|