-
Notifications
You must be signed in to change notification settings - Fork 5
Install InfluxDB
ReefSpy edited this page Mar 29, 2024
·
8 revisions
(refer to https://pimylifeup.com/raspberry-pi-influxdb/)
Add InfluxDB repository:
curl https://repos.influxdata.com/influxdata-archive.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdb-archive-keyring.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/influxdb-archive-keyring.gpg] https://repos.influxdata.com/debian stable main" | sudo tee /etc/apt/sources.list.d/influxdb.list
sudo apt update -y
sudo apt install influxdb2 -y
Configure for start on boot:
sudo systemctl unmask influxdb
sudo systemctl enable influxdb
sudo systemctl start influxdb
Finish setting up InfluxDB by going to:
http://<serverip>:8086
Fill in fields and click Continue:
Username = pi
Password = reefberry
Initial Organization Name = reefberrypi
Initial Bucket Name = test
Copy your API token, then click Configure Later. We will use it when configuring the Reefberry Pi controller. If you lose the token a new one can always be generated later: