Like the others have said before, you will need to find a good book on pumps and piping systems design. Most pump manufacturer's will help you with this if you provide them your NPSHA for the proposed system.
NPSHA = Atmospheric pressure(converted to head) + static head + pressure head - the vapor pressure of the liquid - the friction losses in the piping, valves and fittings
The NPSHR is provided by the mnfr for each pump. To stop the liquid from vaporizing at the low pressure side of the pump; net positive suction head available (NPSHA) must be equal to or greater than the net positive suction head required (NPSHR)).
Some easy things to eliminate cavitation, of which some have been mentioned before:
-Lower the pump to the source and reduce the height of 'suction'
-Reduce the friction on the suction side by reducing fittings or using lower friction pipe
Or if you haven't finalized the system, cosider 'pushing' the water. I worked on an irrigation pump station a few years ago, where I installed a well pump inside wetwell adjacent to a lake. This eliminated the NPSH problems and provided me with more flow with less power consumption (as opposed to the sigle stage options available to me at the time).
The pump priming point that was brought up by gibfrog is very important also. You may be able to just meet your NPSH requirement but if your suction line drains during pumping cycles you will have to reprime the pump. A check valve at the inlet will help, but creates friction that will reduce your NPSHA.