Default [Q] How to root, install CM?

Hey just got an xperia p. I'm a noob here so need to know in easy steps how to root xperia p and then how to install CM recovery.... Ive done rooting on my samsung gtp1000 so i understand its different. Anyone?