This is a guide and collection of packages I've installed on my Raspberry Pi's.
I am not responsible for anything happening to your Raspberry Pi. All guides are based on pre-existing guides on the internet.
Download and install the Raspberry Pi Imager
from https://www.raspberrypi.com/software/
After installing, insert your micro SD card into your computer and open the Raspberry Pi Imager. Select your Raspberry Pi model and choose your preferred OS. I recommend "Raspberry Pi OS Lite (64-bit)" if you will not use the desktop environment.
After selecting your storage device and clicking on "Next", a popup will appear asking if you want to apply custom settings. In the settings, enter your WiFi credentials and enable SSH under the "Services" tab. You can set your password and hostname at this point, or set it later by following the steps under How to Change Your Password and Hostname.
Once the firmware is done flashing to your micro SD, insert it in your Pi and power it on.
To connect to your Pi and use it, download a terminal to SSH into the Pi, such as PuTTY
https://www.putty.org/ for Windows users. For Mac users, you can download Termius
from the app store.
Once your terminal app is installed, connect to your Pi by entering it's IP address or hostname; the default hostname is raspberrypi
. Once connected, you'll be asked to enter your username and password; the default username is pi
and the password is raspberry
.
SSH into the Pi and enter the following to change your password:
sudo passwd
- SSH into the Pi, and open the hosts file by entering:
sudo nano /etc/hosts
- At the bottom, change
raspberrypi
to whatever name you want for the Pi. - To save the file, press
Ctrl+X
thenY
thenEnter
. - Next, open the hostname file by entering:
sudo nano /etc/hostname
- Change
raspberrypi
to whatever name you want for the Pi. - To save the file, press
Ctrl+X
thenY
thenEnter
. - Reboot:
sudo reboot
Listed in recommended install order.