Update 'install-unifi-poller'
This commit is contained in:
@@ -17,9 +17,9 @@ sudo apt -y update
|
||||
sudo apt install -y influxdb
|
||||
sudo systemctl start influxdb
|
||||
|
||||
influx -host localhost -port 8086 CREATE DATABASE unifi
|
||||
influx -host localhost -port 8086 CREATE USER unifipoller WITH PASSWORD 'unifipoller' WITH ALL PRIVILEGES
|
||||
influx -host localhost -port 8086 GRANT ALL ON unifi TO unifipoller
|
||||
influx -host localhost -port 8086 -execute "CREATE DATABASE unifi"
|
||||
influx -host localhost -port 8086 -execute "CREATE USER unifipoller WITH PASSWORD 'unifipoller' WITH ALL PRIVILEGES"
|
||||
influx -host localhost -port 8086 -execute "GRANT ALL ON unifi TO unifipoller"
|
||||
|
||||
curl -s https://golift.io/gpgkey | sudo apt-key add -
|
||||
sudo echo deb https://dl.bintray.com/golift/ubuntu bionic main | sudo tee /etc/apt/sources.list.d/unifi-pollers.list
|
||||
|
||||
Reference in New Issue
Block a user