====== Raspberry Pi ====== ===== Hardware ===== Raspberry Hardware: * Raspberry Pi 4B mit 4 oder 8 GB RAM * Gehäuse * Netzteil * 16 GB microSD Karte * [[https://www.reichelt.de/das-reichelt-raspberry-pi-4-b-4-gb-all-in-bundle-rpi-4b-4gb-allin-p263086.html?&trstct=vrt_pdn&nbc=1|Reichelt: Raspberry Pi 4B, 4 GB RAM, Gehäuse, Netzteil, 16 GB microSD Karte]] * [[https://www.reichelt.de/das-reichelt-raspberry-pi-4-b-8-gb-all-in-bundle-rpi-4b-8gb-allin-p284444.html?&trstct=vrt_pdn&nbc=1|Reichelt: Raspberry Pi 4B, 8 GB RAM, Gehäuse, Netzteil, 16 GB microSD Karte]] USB-Stick (für die Daten): * [[https://www.reichelt.de/usb-stick-usb-3-1-256-gb-ultra-fit-sdcz430-256g-g46-p222576.html?&trstct=pol_7&nbc=1|Reichelt: 256 GB USB Ultra-Fit]] * [[https://www.reichelt.de/usb-stick-usb-3-1-512-gb-ultra-fit-sdcz430-512g-g46-p286944.html?&trstct=pol_26&nbc=1|Reichelt: 512 GB USB Ultra-Fit]] ===== Betriebssystem ===== Auf einem Linux PC das Raspbian Betriebssystem herunterladen und auf die SD-Karte schreiben: [[https://www.raspberrypi.org/software/operating-systems/|Raspbian]] -> Raspberry Pi OS Lite (nur Kommandozeile) herunterladen. sudo dnf install rpi-imager sudo rpi-imager Imager -> Raspberry Pi OS (other) -> Raspberry Pi OS Lite (32-bit) Dann die SD-Karte in den Raspberry Pi einlegen und starten: * Login: pi / raspberry (hier noch raspberrz eingeben) # Konfiguration: sudo raspi-config * 5 Localisation Options * L1 Locale: de_DE.UTF-8 UTF-8 (default locale: de_DE.UTF-8 UTF-8) * L2 Timezone: Europe / Berlin * L3 Keyboard: Generische PC-Tastatur mit 105 Tasten (Intl) / Tastaturbelegung: Deutsch / Rest im Standard belassen * 1 System Options * S3 Password: Passwort für den Benutzer pi setzen * 3 Interface Options * P2 SSH: Enable * 6 Advanced Options * A1 Expand Filesystem: Durchführen * 8 Update Zeit: sudo timedatectl set-timezone Europe/Berlin sudo nano /etc/systemd/timesyncd.conf [Time] NTP=0.europe.pool.ntp.org 1.europe.pool.ntp.org 2.europe.pool.ntp.org 3.europe.pool.ntp.org sudo timedatectl set-ntp false sudo timedatectl set-ntp true timedatectl status # Manuell: sudo date -s 'YYYY-MM-DD HH:mm:ss' Update: sudo apt update sudo apt upgrade Zugriff: https://www.raspberrypi.org/documentation/computers/remote-access.html hostname -I ssh pi@