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

Verify the image checksum:

sha256sum /tmp/2019-09-26-raspbian-buster-lite.zip 
a50237c2f718bd8d806b96df5b9d2174ce8b789eda1f03434ed2213bbca6c6ff  /tmp/2019-09-26-raspbian-buster-lite.zip

Write the image to the MicroSD card:

unzip -p /tmp/2019-09-26-raspbian-buster-lite.zip | 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:

/sbin/ifconfig

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


 

  • Twitter
  • Bookmark Raspberry - Raspbian - First steps at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Raspberry - Raspbian - First steps
  • Bloglines Raspberry - Raspbian - First steps
  • Technorati Raspberry - Raspbian - First steps
  • Fark this: Raspberry - Raspbian - First steps
  • Bookmark Raspberry - Raspbian - First steps at YahooMyWeb
  • Bookmark Raspberry - Raspbian - First steps at Furl.net
  • Bookmark Raspberry - Raspbian - First steps at reddit.com
  • Bookmark Raspberry - Raspbian - First steps at blinklist.com
  • Bookmark Raspberry - Raspbian - First steps at Spurl.net
  • Bookmark Raspberry - Raspbian - First steps at Simpy.com
  • Bookmark Raspberry - Raspbian - First steps at blogmarks
  • Bookmark Raspberry - Raspbian - First steps with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Trackbacks

No Trackbacks

Comments

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