Trouble CPU Mining with CGMiner and CPUMiner on Ubuntu Server 12.04
It's pointless. With that kind of hardware, it would take you on the order of a month to mine a dollar's worth of Bitcoins, and the electricity used would cost you many times that.