Here is the setup I used to get a raspberry Pi working took about 20 minutes to setup...
If you follow the steps in my order with the instructions I supplied you should be able to get it up in running in no time... then you can tweak the OS to the way you want it for instance host name, static ip etc then you just ssh to the pi from a computer start up the miner or set the pi to start the miner on its own etc
1. Install 2016-03-18-raspbian-jessie-lite download free @ https://www.raspberrypi.org
2. Resize Flash Partition Instructions to do this here: http://raspberrypi.stackexchange.com/questions/499/how-can-i-resize-my-root-partition
3. Follow these instruction on how to install cgiminer @ http://www.instructables.com/id/Bitcoin-Mining-using-Raspberry-Pi/
Mike D