Skip to content

Raspberry - Raspbian - First steps

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 website).

Verify the image checksum:

sha256sum /tmp/ 
a50237c2f718bd8d806b96df5b9d2174ce8b789eda1f03434ed2213bbca6c6ff  /tmp/

Write the image to the MicroSD card:

unzip -p /tmp/ | dd of=/dev/sdc conv=fsync bs=4M status=progress

Plug the SD-card into the Raspberry and power it on. Initial login credentials are pi / raspberry. Change the password!

Find out the IP-address of the newly booted system:


Enable ssh access:

systemctl enable ssh.service && systemctl start ssh.service

Run OS upgrades:

apt-get update && apt-get -y dist-upgrade && apt-get clean

Consider changing a few things in order to not wear out the SD-card too much.

Install Python for Ansible:

apt-get install -y python



No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options