Install Raspberry Pi OS System:

This tutorial covers how to burn the Raspberry Pi system, how to find the IP address of the Raspberry Pi, and how to perform VNC remote desktop.

(一)Hardware and Software:

1.Required Hardware:

(1) Raspberry Pi 4B/5 (2) TFT memory card above 16G (3) Card reader (4) Commonly used computer and accessories

2.Operation Method:

(1)Raspberry Pi Imager Software(official software)

Raspberry Pi Imager Software:

Download link: Raspberry Pi Imager

After the download is successful, click Install and open it after installation.

A2

We use Raspberry Pi 5, so select Raspberry Pi 5 in the “Raspberry Pi Device”.

image-20240424131421972

Select “Raspberry Pi OS (64-bit)” in the column below “Operating System” (64-bit or 32-bit is according to the bit of your Raspberry Pi).

image-20240424131615662

Select the SD card to which we want to burn the Raspberry Pi image system in the column below “Storage”.

image-20240424132318451

Then clickimage-20240424132856746

Set the Raspberry Pi login name and password, click on EDITSETTINGS.

a46

First, check Set host nameand Set username and password, then fill in Username as’ pi ‘andPasswordas’ raspberry’ (you can also change it to the name and password you want).

a47

After setting the login name and password, click on Services on the right side, then checkEnable SSH andUse password authentication, and finally click onSAVE .

a48

ClickYES.

a49

Click YES to start burning, be patient and wait until the burning is completed.

a44

a45

(2)Install putty(for SSH remote connection)

Download link:https://www.chiark.greenend.org.uk/~sgtatham/putty/

img

img

a. After downloading the putty driver fileimg, double-click it and then click “Next”.

img

b. Tap “Next”.

img

c. Tap “Install Putty files” and “Install”.

img

d. Tap “Finish”.

img

(3) SSH Remote Login Software WinSCP (can view the Raspberry Pi IP address)

Download link:https://winscp.net/eng/download.php

a. After downloading the WinSCP software fileimg, double-click it, then click img.

img

b. Click “Accept”,“Next” and “Install”.

img

img

img

img

c. After a few seconds, the installation will be completed, click “Finish”.

img

Use WinSCP to log in through the default name, default username, and default password of the Raspberry Pi system,These are set when burning the system and need to be consistent with the burning system. (Only one Raspberry Pi can be connected to the same network).image-20240424142624855

image-20240424142642564

To view the ip address and mac address, click to link and open the PuTTY software, then enter ip a to see the ip address. Or click and then enter ip a in the command box to see the ip address.

After clicking to open the terminal, you need to enter the password again: raspberry, and then press Enter on the keyboard.

After successful login, open the terminal, enter *ip a* and then press Enter on the keyboard to view the ip and mac addresses.

ip a

As can be seen from the circle in the picture above, the mac address of my Raspberry Pi is: d8:3a:dd:bf:47:73, and the IP address is: 192.168.0.72(It will be used when we use xrdp to remotely log in to the Raspberry Pi system desktop).

The mac address will not change. If you are not sure which ip address it is, you can use the mac address to confirm it.

(4) Use PuTTY software to remotely connect to the Raspberry Pi, and set the Raspberry Pi to open VNC
  1. Use the PuTTY software to open the VNC of the Raspberry Pi, log in with the IP found on the WinSCP software

Enter the IP address in the “Host Name (or IP address)” box and click “OPEN”.

login as:If you don’t modify it, the default is “pi”.

pi@xxx.xxx.xxx.xxx‘s password:If you don’t modify it, the default is “raspberry”.

Then enter sudo raspi-config after successful login and press Enter to enter the setting page (if you have opened the PuTTY software through the WinSCP software, there is no need to reopen it).

sudo raspi-config

2.Useimg of the keyboard to select “3 Interface Options” and press Enter.

image-20240424145202144

3.Select “I2 VNC” and press the Enter key, then select “YES” and press the Enter key. After the setting is successful, press the “ESC” key on the keyboard to exit it.

(5)VNC viewer(VNC is used to log in to the Raspberry Pi system interface)

Download link:https://www.realvnc.com/en/connect/download/viewer/

img

Then Install it.

1.Open the VNC viewer software, then click “File” and “New connection…”.

  1. Enter the Raspberry Pi’s IP address in the VNC Server and click “OK”.

3.Double click on the server named 192.168.0.72.

4.Enter pi in the “Username” box, enter raspberry in the password box (note: this is the default if you have not changed the Raspberry Pi login name and password), then check “Remember password” and click OK.

5.Login is successful.