You could start reading here, it should help you to get the idea:
Step-by-Step with open source tools: