Headless installation of Raspian on a Raspberry Pi

This article is mostly a collection for myself how to do a headless installation of Raspbian on a Raspberry Pi including WiFi/WLAN connection and an active SSH server.