Raspbian: Unterschied zwischen den Versionen
(→Links) |
|||
(97 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 == | == 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 == | |||
<pre> | |||
sudo raspi-config | |||
</pre> | |||
''raspi-config'' ermöglicht unter anderem: | |||
* Partition maximieren | |||
* SSH erlauben | |||
* Zeitzone anpassen | |||
* Keyboard-Layout einstellen | |||
=== Zeitzone ändern === | |||
<pre> | |||
sudo dpkg-reconfigure tzdata | |||
</pre> | |||
=== 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 ==== | |||
<pre> | |||
sudo apt-get update | |||
sudo apt-get install dnsutils | |||
</pre> | |||
==== Konfigurationen ==== | |||
[[Router (Raspbian)]] | [[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 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 === | |||
[[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]] | |||
[[VNC Server (Raspbian)|VNC Server]] | |||
== Allgemeines == | |||
=== Temperatur anzeigen === | |||
<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 == | ||
Zeile 10: | Zeile 167: | ||
[https://www.elektronik-kompendium.de/sites/raspberry-pi/ https://www.elektronik-kompendium.de/sites/raspberry-pi/] | [https://www.elektronik-kompendium.de/sites/raspberry-pi/ https://www.elektronik-kompendium.de/sites/raspberry-pi/] | ||
[http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_Network.html http://www.netzmafia.de/skripten/hardware/RasPi/RasPi_Network.html] | |||
[http://raspberrypiguide.de/howtos/ssh-zugriff-unter-raspbian-einrichten/ http://raspberrypiguide.de/howtos/ssh-zugriff-unter-raspbian-einrichten/] | |||
[https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md 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 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 https://www.raspberrypi.org/forums/viewtopic.php?p=855239#p855239] | |||
[http://www.fabiandeitelhoff.de/2014/07/raspberry-pi-speicherplatz-der-sd-karte-ausnutzen/ http://www.fabiandeitelhoff.de/2014/07/raspberry-pi-speicherplatz-der-sd-karte-ausnutzen/] | |||
Zurück zu [[Hauptseite]] | Zurück zu [[Hauptseite]] |
Aktuelle Version vom 21. März 2024, 00: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
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
- in
Interfacing Options / SSH
aktivieren - mit
sudo systemctl start ssh
den SSH-Server starten - für Autostart mit
sudo systemctl enable ssh
aktivieren
Werkzeuge
sudo apt-get update sudo apt-get install dnsutils
Konfigurationen
PXE (Preboot Execution Environment)
Allgemein
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
Test
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.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
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