How to Raspberry Pi
I bought a Raspberry Pi because. Here are a bunch of instructions I used to get up and running.
Get an Operating System
- Download an operating system. I used Raspbian “wheezy” which is Debian, optimised for Raspberry Pi.
- Plug in your SD card and run
df -hto find out the device name of the filesystem’s partition (eg.
Unmount that bad boy sudo diskutil unmount /dev/disk1s1
- Get the raw device name for the disk (eg.
/dev/disk1s1 => /dev/rdisk1– ignore the trailing
- Write the image
sudo dd bs=1m if=~/Downloads/2012-09-18-wheezy-raspbian.img of=/dev/rdisk1
SSH into the Raspberry Pi
- Hook the Raspberry Pi up to the power and internets
ssh pi@the-ip-addresswith the password
Create new user
sudo adduser your-username
sudo adduser your-username sudo
Login as your new user
ssh your-username@the-ip-address with whatever password you chose
pi user because security
sudo userdel -r pi
Update your box
sudo apt-get update sudo apt-get upgrade