@@ -19,18 +19,20 @@ There are no pre-built graphs to display the data it collects.
1919### Windows
2020
2121Using Power Shell (Run as Administrator)
22+
2223``` shell
2324wget https://dl.influxdata.com/influxdb/releases/influxdb-1.8.10_windows_amd64.zip -UseBasicParsing -OutFile influxdb-1.8.10_windows_amd64.zip
2425Expand-Archive .\i nfluxdb-1.8.10_windows_amd64.zip -DestinationPath ' C:\Program Files\InfluxData\influxdb\'
2526```
27+
2628Windows InfluxDB 1.x directions came [ from here] ( https://portal.influxdata.com/downloads/ )
2729
2830** Start & configure:**
31+
2932- Run ` influxd.exe `
3033- [ Post setup] ( influxdb.md#post-setup ) configuration
3134
32- * Default install path: 'C:\Program Files\InfluxData\influxdb\' *
33-
35+ _ Default install path: 'C:\Program Files\InfluxData\influxdb\' _
3436
3537### CentOS 7
3638
@@ -62,6 +64,7 @@ You need [Homebrew](https://brew.sh):
6264``` shell
6365/usr/bin/ruby -e " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install) "
6466```
67+
6568``` shell
6669brew install influxdb
6770brew services restart influxdb
@@ -72,11 +75,10 @@ brew services restart influxdb
7275Pull the container and run InfluxDB like this:
7376
7477``` shell
75- docker pull influxdb:1
78+ docker pull influxdb:1.8
7679docker run -p 8086:8086 \
77- -e INFLUXDB_DB=unifi \
78- -e INFLUXDB_ADMIN_USER=unifi \
79- -e INFLUXDB_ADMIN_PASSWORD=changeme \
80+ -e INFLUXDB_DB=unpoller \
81+ -e INFLUXDB_HTTP_AUTH_ENABLED=false \
8082-v /YOURLOCALPATH/influxdb:/var/lib/influxdb \
8183influxdb:1.8
8284```
@@ -94,17 +96,23 @@ Get shell access to wherever it is and run the command `influx`
9496Create the database:
9597
9698``` none
97- CREATE DATABASE unifi
98- USE unifi
99+ CREATE DATABASE unpoller
100+ ```
101+
102+ We recommend running InfluxDB without authentication enabled,
103+ but if you wish to enable, add a user and give it access to the database.
104+
105+ ``` none
106+ USE unpoller
99107CREATE USER unifipoller WITH PASSWORD 'unifipoller' WITH ALL PRIVILEGES
100- GRANT ALL ON unifi TO unifipoller
108+ GRANT ALL ON unpoller TO unifipoller
101109```
102110
103111Optionally - and this is a very sensible idea - set limits on how much data you wish to retain
104112by implementing a retention policy. For example, to hold data for 32 days add the command:
105113
106114``` none
107- CREATE RETENTION POLICY retention_policy ON unifi DURATION 32d REPLICATION 1
115+ CREATE RETENTION POLICY retention_policy ON unpoller DURATION 32d REPLICATION 1
108116```
109117
110118If you're using InfluxDB 2.x (not recommended at this time), you can set the retention policy by exec-ing into the container:
0 commit comments