RaspberryPi4B: Difference between revisions

From Wiki RB4
Line 20: Line 20:
  sudo apt dist-upgrade
  sudo apt dist-upgrade


===Docker===
===[[Docker|Docker]]===
Installation by:
Installation by:
  sudo curl -fsSL https://get.docker.com | sh
  sudo curl -fsSL https://get.docker.com | sh

Revision as of 15:44, 29 August 2021

Type Information

  • Raspberry 4B 8GB (1,5 GHz Quad-Core ARM-Cortex A72 CPU)
  • bought at pi3g.com via their shop buyzero.de at 12/08/2021 as Raspberry Pi 4 Server Set:
    • 64GB microSD
    • USB C 5 Volt 3 Ampere Netzteil
    • microHDMI auf HDMI Kabel
    • FLIRC Gehäuse
    • CAT 6 LAN Kabel 2 m

Installation

Initial Operation

  • copy empty file named 'ssh' to root at microSD to enable SSH access
  • microSD to slot
  • plug-in USB power supply
  • login via SSH with user 'pi' and pwd 'raspberry'
  • enable WLAN via raspi-config
  • set fixed IP for LAN and WLAN via fritz.box to 192.168.178.(72|73)
  • update OS via
sudo apt update
sudo apt dist-upgrade

Docker

Installation by:

sudo curl -fsSL https://get.docker.com | sh

Test by:

docker 
docker version
sudo docker run hello-world // w/o sudo there will be an error

Configuration

  • disable WLAN by adding to /boot/config.txt and reboot
#UH 18-08-2021 switch off WLAN
dtoverlay=disable-wifi

Operation

On/Off

  • on/off by plug-in/off power supply

Reboot

sudo reboot

Update

sudo apt-get update && sudo apt-get upgrade