Oh ok. Start by reading
What you need to know about rooting:

DroidForums Junkie!!