Difference between revisions of "Influx"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - | sudo curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add - | ||
sudo apt install influxdb2 | 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 -host influxdb-v1.example.com -port 443 | ||
``` | ``` | ||
Revision as of 16:43, 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 -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