Headless Raspberry Pi Configuration

Configuring a Raspberry Pi for headless operation without having to connect a keyboard and a screen, involves the following step

- Download the latest Raspbian image
- copy the Raspbian image to sdcard
- setup Wifi
- change pasword for pi
- enable sshd
- adduser for me,
- modify group
- add me to sudo
- add athorized ssh keys for me on my laptop so i can login without password
- set timezone
- set hostname
- set keyboard
- run raspi-config to configure various other stuff

Dependent on what it will be used for, there is still more to do, quite a few of the above steps needs to be done on the sdcard before you can access the Raspberry Pi remotely.”

Link