Thursday, June 7, 2012

Raspberry Pi, not just for teaching programming

There’s quite rightly been a lot of talk about the Raspberry Pi, and quite some discussion on what it’s good for.      Whether it will  succeed in it’s mission to create a new army of programmers is any one’s guess at this point, but for me it’s already succeeding.  No, not for programming but for teaching computer administration.   I’ve got a small cluster of  Pi (three, 2 borrowed at the moment) and I’ve been having a lot of fun configuring apache Cassandra on  them.    So for   less than £100 I’ve got a Linux cluster I can blow away at any moment and start again.    I can reconfigure the Cassandra settings, start the cluster again and run stress tests on the thing.

I take backups of the SD cards once in a while so I can go back to previous configs at any point  which is quite easy.    On a Mac (or Linux) just  put the card in a card reader and use the following command:

dd bs=1m if=/dev/rdisk1 of=disk.img

where rdisk1 is the USB port you will have identified when creating your first image and disk.img is the file you want to create.

As a teacher,  having cheap hardware around like this is going to allow  us to give students machines to  play on, to set up, muck around with little or no chance of damage.  Our undergraduate networking course is  going to get a whole lot more hands on !  Sure you could do it with VMs  but that just won’t feel as real as plugging a cluster together.  Once we have our data Science MSc up and running (News here )  I’m hoping that we can give the students access to a 2 data center cluster of 20 to 30 machines, all for around 100.    Doing that with VMs is possible but a lot work (although you can of course automate it)  and would probably cost a  lot more to setup !

Looks like the Pi can do a lot more than teach programming.


  1. Great piece of writing. much appreciable one Andy.through this i understood more things in Mac. the command line where i was searched few days back. but didn't got.. by reading this post,i got it.. anyway thank you for posting.Essay writing service are outfitted with the capacity to go on best in class penning for your scholastic papers in the most talented way. If you are inconvenience from writer's protuberance and are not fit to snap the solitary essay that is basic to your relevance, connect with custom essay writing service today.

  2. JBN CREATORS is Ecommerce Website Development company in DELHI. We have more than 5 years of experience serving outsourcing web development services. Provide you service in affordable price at right time. Feel Free contact us 8802969543 , 9650829282 .
    Ecommerce Website Development