一、文件准备
1.1 文件名称
influxdb-1.2.2_windows_amd64.zip
1.2 下载地址
https://portal.influxdata.com/downloads
【注意、注意、注意】下载时可能需要FanQiang
二、InfluxDb安装
Windows下的安装相比Linux要简单的做,直接解压文件到一个目录即可
三、InfluxDb配置
Windows下的配置文件,和Linux的配文件一样,参见博文:http://www.cnblogs.com/liugh/p/6674956.html
需要注意的是,里面的Linux目录,替换成Windows中的目录,比如:
[meta] # Where the metadata/raft database is stored dir = "D:/Program Files/influxdb-1.2.2-1/meta"
[data]
# The directory where the TSM storage engine stores TSM files.
dir = "D:/Program Files/influxdb-1.2.2-1/data"
# The directory where the TSM storage engine stores WAL files.
wal-dir = "D:/Program Files/influxdb-1.2.2-1/wal"
四、InfluxDb启动
通过cmd命令窗口,切换到influxdb安装目录,执行如下命令:
influxd -config influxdb.conf
原文:http://www.cnblogs.com/liugh/p/6683488.html