In this we shall be working with Raspberry Pi 4 Model-B of 1Gb RAM for the set up. Raspberry-Pi is a single board computer used for educational purposes and DIY projects with an affordable cost, requires a power supply of 5V 3A.
Operating Systems like Raspbian OS, Windows, Linux, RISC OS, can be installed into it. The Pi 4 model has Ethernet, wireless adapter, USB type-C port, and 40 GPIO(General Purpose Input Output) pins. Unlike the older versions the performance has very much improved with the Pi 4 model.
Raspberry Pi 4 Model B (1/2/4 GB RAM)
USB Type-C power supply
Ethernet cable (1 meter)
Personal computer
From the official raspberrypi.org download the Raspbian Buster operating system
Also download the Raspberry Pi Imager from the same website, this is for writing the image file onto the SD card.
3. If you are using windows you probably have to download the ssh client, I prefer downloading Bitvise ssh client from PuTTY.
4. To access the desktop of the pi, you can either connect a micro to HDMI connector from the pi to a monitor or you can access it remotely on your PC/laptop. To connect remotely VNC-server has to be installed onto the pi by default the VNC-server is installed within the operating system, in order to view it remotely one has to download VNC-Viewer on his/her Desktop.
5. Open the Raspberry Pi Imager and select the custom setup then select the OS from the Downloaded folder and carefully set the target as USB drive. Wait for the image to be written on the drive.
6. After done, open the boot folder, create a new document named “ssh” without any extensions, save and then unmount the drive.
7. Now connect the Ethernet cable to your PC/lap and power up the pi with the type-C cable.
8. If you are using Windows 10 go to Control Panel --> Network and Internet --> Network Connections, right-click on Wi-Fi select properties, go to sharing section and check on “Allow other network users to connect through this computer’s Internet connection”. Make sure that Home network connection is Ethernet. Save and close the window.
9. Open the Bitvise SSH Client, enter raspberrypi.local or the IP address(from previous step) as host and leave 22 as default port in the server section.
10. Click Log in and enter username as pi and the default password as raspberry. A terminal pops up and you are now into the Raspberry Pi.
11. If this is your first time logging into pi make sure to update your pi by issuing the command “sudo apt-get update” and then “sudo apt-get upgrade” to upgrade.
Quick tip: Don’t forget to change your password once you are log in.
12. Go to terminal and type "vncserver", notedown the generated ip address. Now open VNC-Viewer on your desktop and enter the address or paste it, after few seconds a window pops sharing the screen of raspberry pi d