This tutorial assumes you use arm processor.
Installing
$ sudo apt install influxdb influxdb-client
On debian 11 (bullseye) defaul influx version 1.6.7 current version 2.7
influxdb/oldstable 1.6.7~rc0-1+b5 arm64
influxdb-client/oldstable 1.6.7~rc0-1+b5 arm64
Logging to database and creating user:
Logging to database:
influx -username admin -password adminpassword
Creating database
> create database test_database
> show databases
name: databases
name
----
_internal
test_database
Creating user:
CREATE USER "test" WITH PASSWORD 'test' WITH ALL PRIVILEGES
Creating user:
> show users
user admin
---- -----
Updating to latest 2.7 version:
Ubuntu/Debian AMD64
$ wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-amd64.deb
$ sudo dpkg -i influxdb2-2.7.0-amd64.deb
$ sudo systemctl status influxdb
$ systemctl list-unit-files | grep masked
On-boarding:
http://localhost:8086/
To read::
Ubuntu setup