User Tools

Site Tools


user:rolf001

This is an old revision of the document!


Rolf Becker (rolf001) - Public Page

Hackday Moers 2023

Caspers Data API

TTN Appllication Moers Umwelt

Node-RED

https://nodered.org/docs/getting-started/raspberrypi

 ### ADDITIONAL RECOMMENDATIONS ###
  - Remove the /etc/sudoers.d/010_pi-nopasswd file to require entering your password
    when performing any sudo/root commands:

      sudo rm -f /etc/sudoers.d/010_pi-nopasswd

  - You can customise the initial settings by running:

      node-red admin init

  - After running Node-RED for the first time, change the ownership of the settings
    file to 'root' to prevent unauthorised changes:

      sudo chown root:root ~/.node-red/settings.js
sudo systemctl enable nodered.service

sudo systemctl start nodered.service

Password auf Node-RED setzen

Web Frontend

InfluxDB

cd ~ 

# influxdata-archive_compat.key GPG Fingerprint: 9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E
curl -s https://repos.influxdata.com/influxdata-archive_compat.key > influxdata-archive_compat.key
echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list

ls -al
sudo apt-get update && sudo apt-get install influxdb
sudo systemctl unmask influxdb.service
sudo systemctl start influxdb
influx 

CREATE USER admin WITH PASSWORD '<password>' WITH ALL PRIVILEGES

exit 

# drop user admin

Royal Eijkelkamp

user/rolf001.1679155246.txt.gz · Last modified: 2023/03/18 17:00 by rolf.becker