Raspbian: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
 
(67 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
== Standard-Login ==
<pre>
User:    pi
Password: raspberry
</pre>
== Gehäuse ==
Siehe [[Gehäuse (Raspberry)|Gehäuse]]
== Installation ==
=== Voraussetzungen ===
[[Etcher (Linux)|Etcher]] muss installiert sein.
=== Download ===
==== 32 Bit ====
[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 ==
[[Image sichern (Raspbian)|Image sichern]]
== Konfiguration ==
== Konfiguration ==


Zeile 18: Zeile 61:


=== Netzwerk ===
=== Netzwerk ===
==== SSH aktivieren ====
# in <code>Interfacing Options / SSH</code> aktivieren
# mit <code>sudo systemctl start ssh</code> den SSH-Server starten
# für Autostart mit <code>sudo systemctl enable ssh</code> aktivieren


==== Werkzeuge ====
==== Werkzeuge ====
Zeile 28: Zeile 77:
==== Konfigurationen ====
==== Konfigurationen ====


[[Netzwerk Wireless (Raspbian)]]
[[Benutzerverwaltung (Raspbian)|Benutzerverwaltung]]
 
[[Hostname ändern (Raspbian)|Hostname ändern]]
 
[[PXE - Preboot Execution Environment (unterschiedliche Versionen)|PXE (Preboot Execution Environment)]]


[[Netzwerk mit Kabel (Raspbian)]]
[[dhcpcd-run-hooks (Raspbian)|dhcpcd-run-hooks]]


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


[[Netzwerkbrücke (Raspbian)]]
[[Netzwerk Wireless (Raspbian)|Netzwerk Wireless]]


[[Firewall (Raspian)]]
[[Netzwerk mit Kabel (Raspbian)|Netzwerk mit Kabel]]
 
[[Netzwerkbrücke (Raspbian)|Netzwerkbrücke]]
 
[[Port Address Translation (Raspbian)|Port Address Translation]]
 
[[Route hinzufügen (Raspbian)|Route hinzufügen]]
 
[[Router (Raspbian)|Router]]
 
[[Virtual Interfaces (Raspian)|Virtual Interfaces]]


=== Allgemein ===
=== Allgemein ===


[[VNC Server (Raspbian)]]
[[Backup (Raspbian)|Backup]]
 
[[Cluster (Raspbian)|Cluster]]
 
[[Docker(Raspbian)|Docker]]
 
[[Externe USB-Festplatte (Raspbian)|Externe USB-Festplatte]]
 
[[Java (Raspbian)|Java]]
 
[[OSCam (Raspberry)|OSCam]]
 
[[Tomcat (Raspbian)|Tomcat]]


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


== Powerprobleme ==
== Allgemeines ==


[http://www.forum-raspberrypi.de/Thread-raspbian-noobs-energiesparmodus-abschalten http://www.forum-raspberrypi.de/Thread-raspbian-noobs-energiesparmodus-abschalten]
=== Temperatur anzeigen ===


[http://raspberrypi.stackexchange.com/questions/752/how-do-i-prevent-the-screen-from-going-blank http://raspberrypi.stackexchange.com/questions/752/how-do-i-prevent-the-screen-from-going-blank]
<pre>
sudo vcgencmd measure_temp
</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 ==
 
=== locale: Cannot set LC_ALL to default locale: No such file or directory ===
 
In ''.bashrc'' folgende Zeile hinzufügen:
<pre>
export LC_ALL=C
</pre>


== Links ==
== Links ==

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