Introduction: How to Setup Raspberry Pi Without Monitor and Keyboard
Raspberry Pi is a small single-board computer that runs Linux based operating system called Raspbian.
This instruction will show you how to setup Raspberry Pi (any model) without using Monitor and Keyboard. I will use my Raspberry Pi 3 B+ with Raspbian Buster (release in july 2019).
Step 1: Hardware and Software
Raspberry Pi (any model)
Laptop or Desktop
SD Card or USB Flash Drive
Network Cable (Ethernet RJ45)
Power Supply for Raspberry Pi
Raspbian OS - https://www.raspberrypi.org/downloads/raspbian/
SD Card Formatter - https://www.sdcard.org/downloads/formatter/eula_wi...
Win32 Disk Imager - https://sourceforge.net/projects/win32diskimager/
Putty - https://www.putty.org/
Step 2: Format SD Card or USB Flash Drive
1. Plug your SD Card or USB Flash into Computer
2. Open SD Card Formatter
3. Select your SD Card or USB Flash
4. Click Format
Step 3: Write Raspbian OS Into SD Card
We'll use Win32DiskImager to write RaspbianOS into SD Card or USB Flash.
1. Open Win32DiskImager
2. Under Image File, Select RaspbianOS (.img) that you just download and unzip
(mine is ../2019-07-10-raspbian-buster.img)
3. Under Device, Select your SD Card or USB Flash
4. Click Write
It would take around 10 minutes to progress.
Step 4: Create an Empty File Named SSH
Next, we create an empty file and named it SSH with no extension. This would enable SSH interface on Raspberry Pi which allow Raspberry Pi to communicates with our PC through Ethernet Port.
1. Go to SD Card or USB Flash directory
2. Right Click > New > Text Document
3. Type SSH with no extension
4. Unplug your SD Card or USB Flash from Computer
Step 5: Connecting Raspberry Pi
1. Plug one side of Network Cable to the computer
2. Plug another side of Network Cable to Raspberry Pi
3. Insert SD Card or USB Flash to Raspberry Pi
4. Power up Raspberry Pi
Step 6: Enable VNC on Raspberry Pi
This step, we'll use Putty to communicates with Raspberry Pi through SSH. Then use it to enable VNC Server on Raspberry Pi.
1. Open Putty
2. Under Host Name, Type raspberrypi.local
3. Under Port, Type 22
4. Click Open
Let's login to our Raspberry Pi in a Terminal Window which just pop up
login as: pi
firstname.lastname@example.org's password: raspberry
pi@raspberrypi:~ $ sudo raspi-config
Now we'll get into configuration (use arrow key to move and Enter to choose)
1. Choose 5 Interfacing Options
2. Choose P3 VNC then Choose Yes to enable (Would you like the VNC Server to be enable?)
VNC has been enabled so let's to the last step
Step 7: Remote Raspberry Pi With VNC
Now we can use our PC to remote Raspberry Pi with VNC viewer through Network Cable or Wireless (if we connect both of them to the same WiFi).
1. Open VNC Viewer
2. In the box, Type raspberrypi.local
A window will pop up and ask you to enter username and password
Now finish the setup and enjoy you day.