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 -h
to find out the device name of the filesystem’s partition (eg./dev/disk1s1
) -
Unmount that bad boy sudo diskutil unmount /dev/disk1s1
- Get the raw device name for the disk (eg.
/dev/disk1s1 => /dev/rdisk1
– ignore the trailings1
) - 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-address
with the passwordraspberry
Create new user
sudo adduser your-username
sudo adduser your-username sudo
logout
Login as your new user
ssh your-username@the-ip-address
with whatever password you chose
Delete default pi
user because security
sudo userdel -r pi
Update your box
sudo apt-get update
sudo apt-get upgrade