Benutzer:MathiasMahnke/Raspbian: Unterschied zwischen den Versionen

Aus Opennet
Wechseln zu: Navigation, Suche
Zeile 50: Zeile 50:
 
   ..
 
   ..
 
   exit 0
 
   exit 0
* Wireguard
+
* Wireguard (via buster-backports)
(buster-backports)
+
echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/debian-backports.list
 +
 
  apt install wireguard
 
  apt install wireguard

Version vom 20. Dezember 2020, 07:59 Uhr

  • Bereinigung GUI
apt purge wolfram-engine 
apt purge cups* gnome* 
(apt purge x11-common*)
  • Installation ioBroker (Zugriff anschließend per http://<pi.lan>:8081)
apt purge node nodejs
apt autoremove
curl -sL https://iobroker.net/install.sh | bash -
apt install influxdb influxdb-client
  • Installation Grafana (Zugriff anschließend per http://<pi.lan>:3000)
wget -q -O - https://packages.grafana.com/gpg.key | apt-key add -
echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
apt update 
apt install grafana
systemctl daemon-reload && systemctl enable grafana-server.service
systemctl start grafana-server && systemctl status grafana-server
  • 64-bit Kernel
rpi-update
/boot/config.txt
 [pi4]
 arm_64bit=1
reboot
raspi-config > Interface-Options > I2C > Enable
reboot
apt install i2c-tools python3-bme680
mkdir ~/bme680; cd ~/bme680
wget https://raw.githubusercontent.com/pimoroni/bme680-python/master/examples/read-all.py
wget https://raw.githubusercontent.com/pimoroni/bme680-python/master/examples/indoor-air-quality.py
chmod +x *.py
python3 read-all.py
python3 indoor-air-quality.py
influx -execute 'create database bme680'
apt install python3-bme680 python3-influxdb python3-dotenv python3-bme680
cd ~/bme680
git clone https://github.com/ayeks/bme680_to_influxdb
cd bme680_to_influxdb
vi config.ini
  host = localhost 
  port = 8086
  user = 
  password = 
  dbname = bme680
vi /etc/rc.local
  ..
  # BME680 measurement
  python3 /root/bme680/bme680_to_influxdb/senddata.py "/root/bme680/bme680_to_influxdb/config.ini" >/dev/null &
  ..
  exit 0
  • Wireguard (via buster-backports)
echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sources.list.d/debian-backports.list

apt install wireguard
Meine Werkzeuge
Namensräume

Varianten
Aktionen
Start
Opennet
Kommunikation
Karten
Werkzeuge