Metainformationen zur Seite
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
raspi:install [2024/01/12 17:35] – hossie | raspi:install [2024/02/08 17:55] (aktuell) – hossie | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== | + | ====== Installation ====== |
- | Seit 2022-04-04: https:// | + | |
- | ===== SD ===== | + | |
- | <code bash>dd if=< | + | |
- | ===== WLAN ===== | + | |
<code bash> | <code bash> | ||
- | mount / | + | sudo dd if=< |
+ | sudo mount / | ||
cd /mnt | cd /mnt | ||
- | vi wpa_supplicant.conf | + | sudo vi wpa_supplicant.conf |
</ | </ | ||
- | ---- | ||
< | < | ||
ctrl_interface=DIR=/ | ctrl_interface=DIR=/ | ||
Zeile 21: | Zeile 17: | ||
} | } | ||
</ | </ | ||
- | ---- | ||
- | ===== SSH ===== | + | Neuer User: |
+ | < | ||
+ | openssl passwd -6 -stdin | ||
+ | echo "< | ||
+ | </ | ||
+ | oder später: | ||
+ | < | ||
+ | sudo passwd pi | ||
+ | sudo systemctl disable userconfig.service | ||
+ | sudo rm / | ||
+ | </ | ||
<code bash> | <code bash> | ||
- | touch ssh | + | sudo touch ssh |
cd | cd | ||
- | umount /mnt | + | sudo umount /mnt |
+ | sudo mount / | ||
+ | sudo vi / | ||
+ | mkdir / | ||
+ | chmod 700 / | ||
+ | cp / | ||
+ | sudo umount /mnt | ||
</ | </ | ||
- | + | ===== After Install Tasks ===== | |
- | ===== Hostname | + | |
<code bash> | <code bash> | ||
- | mount / | + | sudo vi /etc/locale.gen |
- | vi /mnt/etc/hostname | + | sudo locale-gen -a |
- | umount | + | sudo apt update |
+ | sudo apt dist-upgrade -V | ||
+ | sudo apt install ruby vim | ||
+ | sudo apt clean | ||
+ | sudo apt autoremove --purge | ||
+ | sudo update-alternatives --config editor | ||
+ | sudo timedatectl set-timezone Europe/Berlin | ||
+ | sudo systemctl reboot | ||
</ | </ | ||
+ | fstab: | ||
+ | < | ||
+ | proc /proc proc defaults 0 0 | ||
+ | PARTUUID=123 / | ||
+ | PARTUUID=123 / ext4 defaults, | ||
+ | tmpfs /tmp tmpfs defaults, | ||
+ | tmpfs /var/tmp tmpfs defaults, | ||
+ | </ |