Raspbian: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
 
(33 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
== Standard-Login ==
<pre>
User:    pi
Password: raspberry
</pre>
== Gehäuse ==
== Gehäuse ==


=== Kühlkörper Raspberry 4B ===
Siehe [[Gehäuse (Raspberry)|Gehäuse]]
 
[[Datei:Kuehlkoerper_Raspberry_4B.jpg|200px|Kühlkörper Raspberry 4B]]


== Installation ==
== Installation ==
Zeile 13: Zeile 18:
=== Download ===
=== Download ===


<pre>
==== 32 Bit ====
wget https://downloads.raspberrypi.org/raspbian_latest
 
</pre>
[https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-32-bit https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-32-bit]
 
==== 64 Bit ====
 
[https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit]
 
== Partition an Kartengröße anpassen ==
 
=== vergrößern ===
 
[https://javil.eu/posts/linux-root-partition-vergroessern https://javil.eu/posts/linux-root-partition-vergroessern]
 
[https://fluppix.de/raspi/raspi-partition-vergroessern https://fluppix.de/raspi/raspi-partition-vergroessern]
 
=== verkleinern ===
 
[https://eggers-blog.info/2019/02/raspberry-pi-so-verkleinert-man-sd-card-images/ https://eggers-blog.info/2019/02/raspberry-pi-so-verkleinert-man-sd-card-images/]


== Backup ==
== Backup ==
Zeile 56: Zeile 77:
==== Konfigurationen ====
==== Konfigurationen ====


[[Booten über Netzwerk (Raspbian)|Booten über Netzwerk]]
[[Benutzerverwaltung (Raspbian)|Benutzerverwaltung]]
 
[[Hostname ändern (Raspbian)|Hostname ändern]]
 
[[PXE - Preboot Execution Environment (unterschiedliche Versionen)|PXE (Preboot Execution Environment)]]
 
[[dhcpcd-run-hooks (Raspbian)|dhcpcd-run-hooks]]
 
[[Firewall (Raspian)|Firewall]]


[[Netzwerk Wireless (Raspbian)|Netzwerk Wireless]]
[[Netzwerk Wireless (Raspbian)|Netzwerk Wireless]]
Zeile 62: Zeile 91:
[[Netzwerk mit Kabel (Raspbian)|Netzwerk mit Kabel]]
[[Netzwerk mit Kabel (Raspbian)|Netzwerk mit Kabel]]


[[Router (Raspbian)|Router]]
[[Netzwerkbrücke (Raspbian)|Netzwerkbrücke]]
 
[[Port Address Translation (Raspbian)|Port Address Translation]]


[[Netzwerkbrücke (Raspbian)|Netzwerkbrücke]]
[[Route hinzufügen (Raspbian)|Route hinzufügen]]


[[Firewall (Raspian)|Firewall]]
[[Router (Raspbian)|Router]]


[[Route hinzufügen (Raspian)|Route hinzufügen]]
[[Virtual Interfaces (Raspian)|Virtual Interfaces]]


=== Allgemein ===
=== Allgemein ===
[[Backup (Raspbian)|Backup]]


[[Cluster (Raspbian)|Cluster]]
[[Cluster (Raspbian)|Cluster]]


[[VNC Server (Raspbian)|VNC Server]]
[[Docker(Raspbian)|Docker]]


[[Externe USB-Festplatte (Raspbian)|Externe USB-Festplatte]]
[[Externe USB-Festplatte (Raspbian)|Externe USB-Festplatte]]


[[Oscam (Raspberry)|Oscam]]
[[Java (Raspbian)|Java]]


[[Java (Raspbian)|Java]]
[[OSCam (Raspberry)|OSCam]]


[[Tomcat (Raspbian)|Tomcat]]
[[Tomcat (Raspbian)|Tomcat]]


[[Backup (Raspbian)|Backup]]
[[VNC Server (Raspbian)|VNC Server]]


== Allgemeines ==
== Allgemeines ==
Zeile 93: Zeile 126:
sudo vcgencmd measure_temp
sudo vcgencmd measure_temp
</pre>
</pre>
=== Version anzeigen ===
<pre>
cat /etc/os-release
</pre>
bzw.
<pre>
cat /etc/debian_version
</pre>
== Release Upgrade ==
[http://baddotrobot.com/blog/2019/08/29/upgrade-raspian-stretch-to-buster/ http://baddotrobot.com/blog/2019/08/29/upgrade-raspian-stretch-to-buster/]
== PHP Upgrade ==
[[Upgrade PHP von 7.3 auf 7.4 (Raspbian)|Upgrade PHP von 7.3 auf 7.4]]
[[Upgrade PHP von 7.3 auf 8.1 (Raspbian)|Upgrade PHP von 7.3 auf 8.1]]
== Test ==
[[Raspbian Testsysteme]]


== Probleme ==
== Probleme ==

Aktuelle Version vom 21. März 2024, 01:31 Uhr

Standard-Login

User:     pi
Password: raspberry

Gehäuse

Siehe Gehäuse

Installation

Voraussetzungen

Etcher muss installiert sein.

Download

32 Bit

https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-32-bit

64 Bit

https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-64-bit

Partition an Kartengröße anpassen

vergrößern

https://javil.eu/posts/linux-root-partition-vergroessern

https://fluppix.de/raspi/raspi-partition-vergroessern

verkleinern

https://eggers-blog.info/2019/02/raspberry-pi-so-verkleinert-man-sd-card-images/

Backup

Image sichern

Konfiguration

sudo raspi-config

raspi-config ermöglicht unter anderem:

  • Partition maximieren
  • SSH erlauben
  • Zeitzone anpassen
  • Keyboard-Layout einstellen

Zeitzone ändern

sudo dpkg-reconfigure tzdata

Netzwerk

SSH aktivieren

  1. in Interfacing Options / SSH aktivieren
  2. mit sudo systemctl start ssh den SSH-Server starten
  3. für Autostart mit sudo systemctl enable ssh aktivieren

Werkzeuge

sudo apt-get update
sudo apt-get install dnsutils

Konfigurationen

Benutzerverwaltung

Hostname ändern

PXE (Preboot Execution Environment)

dhcpcd-run-hooks

Firewall

Netzwerk Wireless

Netzwerk mit Kabel

Netzwerkbrücke

Port Address Translation

Route hinzufügen

Router

Virtual Interfaces

Allgemein

Backup

Cluster

Docker

Externe USB-Festplatte

Java

OSCam

Tomcat

VNC Server

Allgemeines

Temperatur anzeigen

sudo vcgencmd measure_temp

Version anzeigen

cat /etc/os-release

bzw.

cat /etc/debian_version

Release Upgrade

http://baddotrobot.com/blog/2019/08/29/upgrade-raspian-stretch-to-buster/

PHP Upgrade

Upgrade PHP von 7.3 auf 7.4

Upgrade PHP von 7.3 auf 8.1

Test

Raspbian Testsysteme

Probleme

locale: Cannot set LC_ALL to default locale: No such file or directory

In .bashrc folgende Zeile hinzufügen:

export LC_ALL=C

Links

https://www.raspberrypi.org

https://www.elektronik-kompendium.de/sites/raspberry-pi/

http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_Network.html

http://raspberrypiguide.de/howtos/ssh-zugriff-unter-raspbian-einrichten/

https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md

http://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-ip/37921#37921

https://www.raspberrypi.org/forums/viewtopic.php?p=855239#p855239

http://www.fabiandeitelhoff.de/2014/07/raspberry-pi-speicherplatz-der-sd-karte-ausnutzen/


Zurück zu Hauptseite