setup up influxdb 2 on raspberry pi code example
Example: Install InfluxDB Raspberry Pi
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -
curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -