30 Aprile 2025

Appunti informatici

Il quaderno degli appunti informatici

Installazione InfluxDB su Raspberry Pi

1 min read

Con pochi comandi si installa InfluxDB

curl -sL https://repos.influxdata.com/influxdb.key | sudo apt-key add -

Digitare il seguente comando che conoscere la versione del sistema operativo installato sul Raspberry Pi

lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch

Quindi dare i seguenti comandi sostituendo la versione dell’OS

sudo apt install apt-transport-https
echo "deb https://repos.influxdata.com/debian stretch stable" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt-get update
sudo apt-get install influxdb

Se tutto è andato bene terminerà così

Configurare InfluxDB tramite apposito file in base alle preferenze, in particolare notare le porte utilizzate:

sudo nano -c /etc/influxdb/influxdb.conf

L’interfaccia Web dalla versione 1.3 non è più disponibile.

Per avviare il server:

sudo service influxdb start

About Author

Lascia un commento