Skip to main content

Tips for a Fresh Raspberry Pi OS Install

By now, you probably have flashed the Raspberry Pi OS and boot up your Raspberry Pi for the first time.

In this guide, I will list some of the useful commands you should do when you first login to the Raspberry Pi OS. This guide will be updated as I find new commands and tips to use for a Raspberry Pi.

1. Change the default credentials

By default, the standard user on a Raspberry Pi OS is pi, with the password raspberry. Use the raspi-config utility to change this to make your pi more secure.

sudo raspi-config

Go to System Options -> Password, type in a new password twice, and enter.

Screenshot 2021-05-11 214756.png

Screenshot 2021-05-11 214828.png

Screenshot 2021-05-11 214842.png

Screenshot 2021-05-11 214933.png

Screenshot 2021-05-11 214905.png

Many simple settings can be set through the raspi-config utility. Navigating through the options is pretty straight forward and user friendly.

2. Update Raspberry Pi OS

Since Raspberry Pi OS is based on Linux and uses the apt manager, you can issue the following command to fully update the system:

sudo apt update && sudo apt upgrade -y

3. Change Time Zone

By default, the timezone are set to EU timezone. You can change the timezone through the following command:

sudo dpkg-reconfigure tzdata

Screenshot 2021-05-11 215909.png

Screenshot 2021-05-11 215930.png

4. Enable SSH Server

SSH allows you to connect to the Raspberry Pi’s command line terminal over the network securely. Enable this if you need to remotely manage your Pi. You can enable the option through raspi-config.

Go to Interface Options -> SSH to enable the SSH server.

sudo raspi-config

Screenshot 2021-05-11 221106.png

Screenshot 2021-05-11 221119.png

Screenshot 2021-05-11 221131.png

Screenshot 2021-05-11 221142.png