Since it's a recurring question , here's a way to work it out the traditional way:
Operating system : The grey matter between your ears :)
Hardware : A scrap of paper, a pen, handful of braincells, a pocket calculator
Pre-requisites : Read the stickies regarding DIY
AAQ ( i.e. Always Asked...