Headless Installation

Problem:
You don't have any display to run the graphic interface and you need to install OS, configure the wifi and enable the remote ssh connection.

Solution:

1.- Download the OS image and save it into a SD.
from:



https://www.raspberrypi.org/documentation/installation/installing-images/README.md

2.- Burn the image to the SD using a software like balenaEtcher
https://www.balena.io/etcher/


2.- Setup the wifi adding the file “wpa_supplicant.conf” in boot folder.
network={ ssid="<Name of your WiFi>" psk="<Password for your WiFi>"}

3.- Setup SSH.
You only need to create an empty file named "ssh" in the boot file.


4.- Power off and power on your Raspberry and check your firewall to look for the last device connected to your Wireless Network, there you will be able to the the DNS name or IP address. 


5.- Download PuTTY and create a remote connection trough port 22 using SSH, raspbian default access is: pi/raspberry

4.- once you are logged in, you can change the administrator password using the following command:
sudo raspi-config

Source:
https://www.raspberrypi.org/documentation/configuration/wireless/headless.md