Requirements
- Raspberry Pi (all models)
- Memory card (16GB or larger recommended)
- SD Card adapter
- LAN cable
- Power adapter
Disclaimer:
You can use any operating system of your choice. I'll be demonstrating with Arch Linux, but the steps are applicable across different OSes.
Installing the Operating System
Start by downloading your preferred Raspberry Pi operating system here. If you prefer another ARM-based OS, feel free to download it instead.
Flashing the OS
To flash the OS onto your SD card, download Raspberry Pi Imager from here or from their GitHub repository for other systems.
- Connect the SD card to your computer.
- Open Raspberry Pi Imager.
- Select your device.
- Choose the downloaded OS.
- Select the SD card as the storage location.
- Configure hostname, username, and password.
- Enable SSH.
- Write the image to the SD card.
My setup:
I already downloaded the OS to local system. Also using a raspberry pi 4 Model B having 4 GB of RAM. My settings will be this:
Also, you need to make sure you are remembering the settings in this page:
Setting Up Remote Access
After flashing:
- Create an empty file named
ssh
(without an extension) in thebootfs
directory of the SD card. - Eject the SD card and insert it into your Raspberry Pi.
- Power on the Raspberry Pi.
Enabling VNC
Open a terminal or cmd. Type
ssh <username>@<localhost-name>.local
Type yes
and enter the password you set during setup. You will be logged into the terminal and you are good to go.
Get the IP address of the Raspberry Pi:
ip a
Remember the local IP address of the device connected to the device (This only works when the pi and your device are both connected to the same network).
To enable VNC for graphical access:
sudo raspi-config
Navigate to:
- Display options: Set a resolution.
- Interface options: Enable VNC.
Access pi by typing ip address
into your VNC top bar for connection.
Stay tuned for more exciting projects and tutorials in my Raspberry Pi series! Happy tinkering!
Top comments (0)
Some comments may only be visible to logged-in visitors. Sign in to view all comments.