Installation
Raspberry Pi Installation
-
Install the official installer tool
Raspberry Pi Imager
Depending on the OS, find the adapted software.
https://www.raspberrypi.com/software/ -
Run the installer tool and configure the future OS
-
Depending on RPI model, choose an adequate OS
RPI Model Specs OS Recommended PSU RPi 1 B 700 Mhz - 256 MB RPi OS Lite (32 bit) >= 2.5A RPi 3 b 1 Ghz - 1 GB RPi OS Lite (64 bit) >= 2.5A - To identify the model
cat /sys/firmware/devicetree/base/model cat /proc/cpuinfo # Check RAM free -h
- To identify the model
-
Set hostname (rpi-(dogname).local)
-
Enable SSH
- Pub Key : Use the RaspPI one
-
Define user
- name : rpi
- pass : rpi
- Set local settigns
- timezone: America/Montreal
- Keyboard : ca
-
-
SSH to board
- Configure GPU memory to minimum
sudo raspi-config nonint do_memory_split 16
- Configure GPU memory to minimum
-
Update the board completely
sudo apt update sudo apt full-upgrade -y reboot -
Optimization
# Increase swap file
sudo dphys-swapfile swapoff
CONF_SWAPSIZE=1024 # in file /etc/dphys-swapfile
sudo dphys-swapfile setup
sudo dphys-swapfile swapon
# Disable HDMI
/usr/bin/tvservice -o
# Disable Bluetooth
# in /boot/config.txt, add
dtoverlay=disable-bt
# then disable services
sudo systemctl disable hciuart.service
sudo systemctl disable bluealsa.service
sudo systemctl disable bluetooth.service
- Install ZRAM
https://github.com/novaspirit/rpi_zram
https://haydenjames.io/raspberry-pi-performance-add-zram-kernel-parameters/
Resources
https://feriman.com/raspberry-pi-optimization-hardware-and-software/
https://di-marco.net/blog/it/2020-04-18-tips-disabling_bluetooth_on_raspberry_pi/