I did it two years ago (with McCraque who posted earlier). It's tough but I was expecting it to be tougher. That said I did a LOT of riding beforehand. Not very quick riding but I would ride 45 miles into work and then same distance back.
I should point out that being 40 yrs old (at the time of the ride) and 14stone, I'm not exactly lightweight and definitely starting to feel my age.
However,getting used to long rides in the weeks leading up to it helped no end. I got to know how to stay comfortable on the bike. I swapped my saddle to a more comfy one and I made sure my bike was in full working order so I'd be confident it wouldn't let me down.
The most important thing though was to get to grips with nutrition, as has been said. Working out how to keep yourself fuelled over long distances and time (without hitting the wall) is crucial in my opinion.
I also rode at a steady pace and rather than just drink water, I mixed in the bottle a powdered sports type drink at every water stop. You sweat a lot so that can really help. By spinning up hills in the granny gear I never burned out so managed to ride up every hill without stopping and didn't even find the ones near the end that tough. In fact I enjoyed the last few miles as I knew I was going to finish.
My Garmin gave me a moving time of 10hrs dead. It was probably more like 12-13 taking into account the food and water stops but I'm happy with that.
The bike I rode was a carbon 29er HT, you'd struggle to find a better tool for the job.