Installing a new Raspberry Pi is always the same few steps, and still I have to look them up almost every time. Here is the summary.
Unpack the Raspberry Pi, hook it up to a keyboard, monitor and network. Get a MicroSD card with at least 8 GB size, and a card reader which you can use to write the image to the card.
Download the Raspbian image (as example from the raspberry.org website).
Verify the image checksum:
Write the image to the MicroSD card:
Plug the SD-card into the Raspberry and power it on. Initial login credentials are
raspberry. Change the password!
Find out the IP-address of the newly booted system:
Enable ssh access:
Run OS upgrades:
Consider changing a few things in order to not wear out the SD-card too much.
Install Python for Ansible: