« Back

avatar

Setting up my very first Raspberry Pi!

By Matthew Bender


Posted on March 8, 2015


The Equipment

  1. Raspberry Pi 2 - $35
  2. SanDisk Extreme 16GB UHS-I/U3 Micro SDHC Memory Card - $14
  3. Edimax EW-7811Un 150Mbps 11n Wi-Fi USB Adapter - $9
  4. AmazonBasics Wall Charger with USB Outlet - $8
  5. Anker® 6ft / 1.8m Extra Long Premium Micro USB to USB Cable - $5
  6. HDMI Cable
  7. Monitor
  8. Mouse
  9. Keyboard

Getting Started with Rasbian

  1. Format Micro SD Card with SD Formatter 4.0
  2. Download Raspbian Image
  3. Load Raspbian Image onto Micro SD Card

    • Identify the disk with diskutil list
    • Unmount the disk with diskutil unmountDisk /dev/<disk# from diskutil>
    • Load Image onto SD Card with sudo dd bs=1m if=<path/to/2015-02-16-raspbian-wheezy.img> of=/dev/<disk# from diskutil>
  4. Plug in the equipment, but power cable last!!
  5. Hopefully it all boots up… If not http://www.raspberrypi.org/help/
  6. Login with default credentials, login “pi”, password “raspberry”

First Things to do

  1. raspi-config - sudo raspi-config

    • Expand File System
    • Select suitable locale and keyboard
    • CHANGE USER PASSWORD :-)
  2. Setup Wifi!!
  3. Touch up the screen resolution to fit your monitor, see this
  4. Update & Upgrade

    • sudo apt-get update
    • sudo apt-get disto-upgrade
    • sudo rpi-update
  5. Set Raspberry Pi’s IP to be static
  6. Enable SSH-ing - sudo raspi-config -> Advanced Options -> SSH
  7. Allow passwordless SSH into Raspberry pi

A few more things…

  1. Install Ruby with rbenv

  2. Install Node
  • sudo apt-get nodejs

Do something AWESOME!

  1. Install a camera
  2. Connect Speakers
  3. Play Games
  4. Connect more components
  5. All the things!

Questions or Comments?

Hit me up on twitter @5280code!