The steps listed here are performed on a RaspberryPi 4b, but they would apply in principle to any RasperryPi.

This is a running log of the steps taken for future reference.

Imager Link to heading

Use RaspberryPi Imager to write the RaspberryPi OS to the MicroSD card.

image

Enable OpenSSH in the options, set your WiFi password, set your username and password, etc.

Upgrade Everything Link to heading

apt update && apt upgrade

Install unattended-upgrades Link to heading

apt install unattended-upgrades

Setup Static IP Link to heading

sudo nmtui