Follow the instructions that M_a_x86 posted earlier, you won't find a more complete tutorial. Once you're rooted, follow the steps outlined in the CyanogenMOD thread.
If you can't follow/don't understand what is being discussed in those links, you probably shouldn't attempt rooting your phone.
CP