This document covers the basic setup and tweaks I always do to every one of my RaspberryPi installations.
If you do not have a preinstalled SDCard, download Raspbian from here. I recommend Raspbian Buster Lite.
Flash your SDCard using any of the methods that exist. I use either dd
or balenaEtcher.
Before you remove the SDCard from the computer you flashed the card on, go to the BOOT
partition, and create an empty file called SSH
.
This will enable the SSH-server from first boot, thus removing the need to an external monitor and keyboard.
-
Log on to your RaspberryPi, using the default login credentials, username:
pi
, and password:raspberry
. -
Change your password, by executing this command:
$ passwd
-
Update the system, by executing this command:
$ sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove -y && sudo apt autoclean -y $ sudo rpi-update
-
Configure your RaspberryPi, by executing this command:
$ sudo raspi-config
-
To set the device username
-
Choose
2 Network Options
-
Choose
N1 Hostname
, set the name you wish to use.
-
-
-
To set your locale
-
Choose
4 Localisation Options
-
Choose
I1 Change Locale
, to set your locale -
Choose
I2 Change Timezone
, to set your timezone
-
-
-
To set memory allocation
-
Choose
7 Advanced Options
-
Choose
A3 Memory Split
, set the value to16
, since you are not going to use the GPU
-
-
-
Choose
<Finish>
to exit -
Reboot
-