55
The Raspberry Pi - From Box to App (Mmm, Pi…) Gary Short Head of Gibraltar Labs @garyshort

Raspberry Pi - Rocksolid Tour 2013

Embed Size (px)

Citation preview

Page 1: Raspberry Pi  - Rocksolid Tour 2013

The Raspberry Pi - From Box to App(Mmm, Pi…)

Gary ShortHead of Gibraltar Labs

@garyshort

Page 2: Raspberry Pi  - Rocksolid Tour 2013

Who the Hell’s this Guy?

• Gary Short• Head of Gibraltar Labs– Skunk works division of Gibraltar Software

• Social Network Analysis and Computational Linguistics research

• @garyshort• Facebook.com/theothergaryshort• [email protected]

Page 3: Raspberry Pi  - Rocksolid Tour 2013

The Pi Comes in a Box Like This…

Page 4: Raspberry Pi  - Rocksolid Tour 2013

And Looks Like This…

Page 5: Raspberry Pi  - Rocksolid Tour 2013

But You’re Going to Want to Put it in a Case Like This…

Page 6: Raspberry Pi  - Rocksolid Tour 2013

Raspberry Pi Specs…

http://en.wikipedia.org/wiki/Raspberry_Pi#Specifications

Page 7: Raspberry Pi  - Rocksolid Tour 2013

Your SD Card Comes in a Package Like This…

Page 8: Raspberry Pi  - Rocksolid Tour 2013

Put it in Your Card Reader…

Page 9: Raspberry Pi  - Rocksolid Tour 2013

Download BerryBoot…

Page 10: Raspberry Pi  - Rocksolid Tour 2013

Extract it to Your SD Card…

Page 11: Raspberry Pi  - Rocksolid Tour 2013

To Give You This…

Page 12: Raspberry Pi  - Rocksolid Tour 2013

Connect Everything and Fire up the Pi…

Page 13: Raspberry Pi  - Rocksolid Tour 2013

The BerryBoot Launcher Will Start…

Page 14: Raspberry Pi  - Rocksolid Tour 2013

Select Your SD Card as Install Destination…

Page 15: Raspberry Pi  - Rocksolid Tour 2013

The Bootloader and Firmware will Install…

Page 16: Raspberry Pi  - Rocksolid Tour 2013

If you are Asked to Update, you Probably Should…

Page 17: Raspberry Pi  - Rocksolid Tour 2013

Once you do, Reboot…

Page 18: Raspberry Pi  - Rocksolid Tour 2013

When You’re Back, Boot the OS Installer…

Page 19: Raspberry Pi  - Rocksolid Tour 2013

Select your OS…

Page 20: Raspberry Pi  - Rocksolid Tour 2013

There are lots to Choose from…

Page 21: Raspberry Pi  - Rocksolid Tour 2013

See…

Page 22: Raspberry Pi  - Rocksolid Tour 2013

Wheezy is Recommended…

Page 23: Raspberry Pi  - Rocksolid Tour 2013

Exit the Boot Menu Editor…

Page 24: Raspberry Pi  - Rocksolid Tour 2013

And Reboot…

Page 25: Raspberry Pi  - Rocksolid Tour 2013

You’ll be Presented with the Config Menu…

Page 26: Raspberry Pi  - Rocksolid Tour 2013

The Pi will Reboot…

Note the IP address, we’ll need that later…

Page 27: Raspberry Pi  - Rocksolid Tour 2013

And you’re Done…

Page 28: Raspberry Pi  - Rocksolid Tour 2013

Set up Complete, Let’s Connect…

Page 29: Raspberry Pi  - Rocksolid Tour 2013

Download Putty and PuttyGen…

Page 30: Raspberry Pi  - Rocksolid Tour 2013

Recall your IP Address, or Check Router…

Page 31: Raspberry Pi  - Rocksolid Tour 2013

Connect With Putty…

Page 32: Raspberry Pi  - Rocksolid Tour 2013

Remembering Passwords is Dull, we can do Better…

Page 33: Raspberry Pi  - Rocksolid Tour 2013

Generate a PuttyGen Key Pair…

Page 34: Raspberry Pi  - Rocksolid Tour 2013

Save the Private Key…

Page 35: Raspberry Pi  - Rocksolid Tour 2013

Create Directory and File for Secure Keys…

Page 36: Raspberry Pi  - Rocksolid Tour 2013

Paste in the Public Key…

Page 37: Raspberry Pi  - Rocksolid Tour 2013

Set up Putty to use the Secure Key…

Page 38: Raspberry Pi  - Rocksolid Tour 2013

And Connect Again…

Page 39: Raspberry Pi  - Rocksolid Tour 2013

What About File Transfer..?

Page 40: Raspberry Pi  - Rocksolid Tour 2013

Download WinSCP…

Page 41: Raspberry Pi  - Rocksolid Tour 2013

Configure it to use Secure Keys…

Page 42: Raspberry Pi  - Rocksolid Tour 2013

And Connect…

Page 43: Raspberry Pi  - Rocksolid Tour 2013

Application Demo…

Page 44: Raspberry Pi  - Rocksolid Tour 2013

Building the Demo…

Page 45: Raspberry Pi  - Rocksolid Tour 2013

We Need a Repository of Radio Streams…

Page 46: Raspberry Pi  - Rocksolid Tour 2013

And we Need a way of Playing them…

Page 47: Raspberry Pi  - Rocksolid Tour 2013

apt-get install mplayer…

Page 48: Raspberry Pi  - Rocksolid Tour 2013

Do the Simplest Thing that Works…

Page 49: Raspberry Pi  - Rocksolid Tour 2013

And Check that it Does …

Page 50: Raspberry Pi  - Rocksolid Tour 2013

So Now we Need a “UI”…

Page 51: Raspberry Pi  - Rocksolid Tour 2013

apt-get install mono-runtime…

Page 52: Raspberry Pi  - Rocksolid Tour 2013

apt-get install mono-gmcs

Page 53: Raspberry Pi  - Rocksolid Tour 2013

Create a DB of Streams…

Page 54: Raspberry Pi  - Rocksolid Tour 2013

Switch to Code Stupid…

Page 55: Raspberry Pi  - Rocksolid Tour 2013

Questions..?