Difference between revisions of "Influx"

From UVOO Tech Wiki
Jump to navigation Jump to search
Line 13: Line 13:
 
tar xf influxdb-1.8.9-static_linux_amd64.tar.gz
 
tar xf influxdb-1.8.9-static_linux_amd64.tar.gz
 
sudo cp influxdb-1.8.9-1/influx /usr/local/bin/influx-v1
 
sudo cp influxdb-1.8.9-1/influx /usr/local/bin/influx-v1
influx-v1 -host influxdb-v1.example.com -port 443
+
influx-v1 -unsafeSsl -ssl -host influxdb-v1.example.com -port 443
 
```
 
```
  

Revision as of 17:15, 3 June 2022

Add repo to Ubuntu 22.04/20.04:

echo "deb https://repos.influxdata.com/ubuntu focal stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
sudo apt install influxdb2

Version 1

cd /tmp
curl -LO https://dl.influxdata.com/influxdb/releases/influxdb-1.8.9-static_linux_amd64.tar.gz
tar xf influxdb-1.8.9-static_linux_amd64.tar.gz
sudo cp influxdb-1.8.9-1/influx /usr/local/bin/influx-v1
influx-v1 -unsafeSsl -ssl -host influxdb-v1.example.com -port 443
apt install influx
influx -host myhost
SHOW DATABASES
USE foo
SHOW MEASUREMENTS
quit

Alpine v1 apk add influxdb