- Raspberry Pi3 (Pi)
- 16G SSD card
- Host Computer.
- Download the Raspbian Lite image from raspberrypi.org.
- Unzip it then write to your micro SD card.
- Copying to SD drive. **
wget https://downloads.raspberrypi.org/raspbian_lite_latest
unzip 2018-04-18-raspbian-stretch-lite.zip
sudo dd bs=4M if=2018-04-18-raspbian-stretch-lite.img of=/dev/sdb conv=fsync
** A good way to determine which drive your SD card is by running sudo fdisk -l
before and after plugging it in. Use that drive in the of= (output file) of the dd command. **
After this command finishes you should have a bootable microsd card that can go into the pi by attaching a monitor and keyboard. The default username and password is pi:raspberry.
sudo apt-get update
sudo apt update
sudo apt-get install git
sudo raspi-config
A configuration window will open: Select Networking Options , Navigate to enter you SSID and wifi , Choose Yes, Select Ok, Choose Finish
- Bring up Raspbian Config UI.
sudo raspi-config
A configuration window will open: Select Interfacing Options , Navigate to and select SSH , Choose Yes, Select Ok, Choose Finish
- Enable SSH on boot.
- Start SSH.
sudo systemctl enable ssh
sudo systemctl start ssh
Note Search the network for your Pi:
ifconfig
sudo nmap -sS -p 22 192.168.0.0/24
// Should show port 22 (ssh port) as open