Benutzer-Werkzeuge

Webseiten-Werkzeuge


einplatinenrechner:raspberry_pi_os

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
einplatinenrechner:raspberry_pi_os [2024-03-10 13:18:47] – [Boot-Reihenfolge ändern (Pi5)] manfredeinplatinenrechner:raspberry_pi_os [2024-07-07 19:57:52] (aktuell) – alte Version wiederhergestellt (2024-03-10 16:34:24) manfred
Zeile 1: Zeile 1:
 ====== Raspberry Pi OS ====== ====== Raspberry Pi OS ======
 +
 +Pakete, die einem auf der CLI das Leben leichter machen:
 +  > apt install vim screen mc -y
  
  
Zeile 70: Zeile 73:
  
 immer als erstes das System-Update: immer als erstes das System-Update:
-  apt update -y +  root@pi5:~# apt update -y 
-  apt full-upgrade -y+  root@pi5:~# apt full-upgrade -y 
 +  root@pi5:~# apt reboot 
 + 
 +dann das Jellyfin-Repository einrichten: 
 +  root@pi5:~# apt install apt-transport-https lsb-release curl 
 +  root@pi5:~# curl https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | gpg --dearmor > /usr/share/keyrings/jellyfin-archive-keyring.gpg 
 +  root@pi5:~# ls -lha /usr/share/keyrings/jellyfin-archive-keyring.gpg 
 +  -rw-r--r-- 1 root root 2.2K Mar 10 14:20 /usr/share/keyrings/jellyfin-archive-keyring.gpg 
 +   
 +  root@pi5:~# echo "deb [signed-by=/usr/share/keyrings/jellyfin-archive-keyring.gpg arch=$(dpkg --print-architecture)] https://repo.jellyfin.org/debian $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/jellyfin.list 
 +  deb [signed-by=/usr/share/keyrings/jellyfin-archive-keyring.gpg arch=arm64] https://repo.jellyfin.org/debian bookworm main 
 +   
 +  root@pi5:~# apt update -y 
 +  Hit:1 http://deb.debian.org/debian bookworm InRelease 
 +  Get:2 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] 
 +  Hit:3 http://deb.debian.org/debian bookworm-updates InRelease 
 +  Get:4 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [142 kB] 
 +  Hit:5 http://archive.raspberrypi.com/debian bookworm InRelease 
 +  Get:6 http://deb.debian.org/debian-security bookworm-security/main armhf Packages [140 kB] 
 +  Get:7 http://deb.debian.org/debian-security bookworm-security/main Translation-en [86.7 kB] 
 +  Get:8 https://repo.jellyfin.org/debian bookworm InRelease [6,651 B] 
 +  Get:9 https://fra1.mirror.jellyfin.org/files/debian bookworm/main arm64 Packages [1,866 B] 
 +  Fetched 425 kB in 1s (541 kB/s) 
 +  Reading package lists... Done 
 +  Building dependency tree... Done 
 +  Reading state information... Done 
 +  All packages are up to date. 
 +   
 +  root@pi5:~# apt search jellyfin 
 +  Sorting... Done 
 +  Full Text Search... Done 
 +  jellyfin/unknown 10.8.13-1 all 
 +    Provides the Jellyfin Free Software Media System 
 +   
 +  jellyfin-ffmpeg5/unknown 5.1.4-3-bookworm arm64 
 +    Tools for transcoding, streaming and playing of multimedia files 
 +   
 +  jellyfin-ffmpeg6/unknown 6.0.1-3-bookworm arm64 
 +    Tools for transcoding, streaming and playing of multimedia files 
 +   
 +  jellyfin-server/unknown 10.8.13-1 arm64 
 +    Jellyfin is the Free Software Media System. 
 +   
 +  jellyfin-web/unknown 10.8.13-1 all 
 +    Jellyfin is the Free Software Media System. 
 +   
 +  root@pi5:~# apt install jellyfin -y 
 + 
 +beim ersten Zugriff auf die Web-Oberfläche, wird Jellyfin konfiguriert: 
 +  http://<Raspberry Pi's IP Address>:8096 
 + 
 +Es ist möglich im Admin-Bereich unter "Erweitert" und "Netzwerk" ein eigenes SSL-Zertifikat zu hinterlegen. 
 +Dann wird die Verbindung verschlüsselt und die Passwörter für die Logins werden nicht mehr unverschlüsselt übertragen. 
 +  > openssl req -rand /dev/urandom -new -x509 -newkey ED448 -sha3-512 -nodes -keyout /etc/ssl/private/jellyfin.key -keyform PEM -out /etc/ssl/certs/jellyfin.crt -outform PEM -days 7000 -subj "/emailAddress=email@adresse.de/C=DE/ST=Hessen/L=Frankfurt/O=Firma/OU=Abteilung/CN=pi5.fritz.box" 
 +  > mkdir /etc/ssl/jellyfin 
 +  > cat openssl pkcs12 -export -out /etc/ssl/jellyfin/jellyfin.p12 -inkey /etc/ssl/private/jellyfin.key -in /etc/ssl/certs/jellyfin.crt 
 +  > ls -lha /etc/ssl/jellyfin/jellyfin.p12 
 +  -rw------- 1 root root 1.2K Mar 10 17:24 /etc/ssl/jellyfin/jellyfin.p12 
 + 
 +Diese P12-Datei ''/etc/ssl/jellyfin/jellyfin.p12'' samt Passwort, muß dann auf der Webseite eingegeben werden. 
 +//Allerdings hat es bei mir nicht funktioniert, vielleicht mag Jellyfin keine selbst signierten Zertifikate...?// 
 + 
 + 
 +===== Zugriff auf Windows-Freigaben (Pi5) ===== 
 + 
 +will man auch auf Windows-Freigaben (z.B. von Samba) zugreifen, dann braucht man noch diese Pakete: 
 +  root@pi5:~# apt install autofs cifs-utils -y 
 +  root@pi5:~# vi /etc/auto.cifs 
 +  multimedia      -fstype=cifs,vers=3.0,rw,noperm,nosetuids,noserverino,ip=192.168.1.1,uid=1000,gid=1000,credentials=/root/etc/autofs.cifs.fritz ://smbserver/multimedia 
 +   
 +  root@pi5:~# touch /root/etc/autofs.cifs.fritz 
 +  root@pi5:~# chmod 0600 /root/etc/autofs.cifs.fritz 
 +  root@pi5:~# vi /root/etc/autofs.cifs.fritz 
 +  username=fritz 
 +  password=geheim 
 +  domain=MULTIMEDIA 
 +   
 +  root@pi5:~# echo "/cifs   /etc/auto.cifs -g -t 10" >> /etc/auto.master 
 +  root@pi5:~# service autofs restart 
 +  root@pi5:~# ls -lha /cifs/multimedia/
  
  
/home/http/wiki/data/attic/einplatinenrechner/raspberry_pi_os.1710076727.txt · Zuletzt geändert: von manfred