- 从官网下载 - 在C盘设定目录:C:\Program Files\Influx Data\influx-data - 把下载下来的拷贝到C:\Program Files\Influx Data\influx-data中 - 修改conf结尾的文件 ``` [meta] dir="C:/Prgram Files/Influx Data/influx-data/meta" [data] dir="C:/Prgram Files/Influx Data/influx-data/data" val-dir="C:/Prgram Files/Influx Data/influx-data/wal" [http] enabled=true logging-enabled=true trace-logging-enabled=true query-logging-enabled=true ``` - 运行`influxd.exe` - 浏览:localhost:8086/query ``` 返回信息:{"error":"missing required parameter\"q\"} ``` - 作为服务运行 ``` sc create "influxdb" binPath= "C:/Prgram Files/Influx Data/influx-data/influxd.exe" sc delete influxdb ``` - 查看服务:`services.msc`