Luckily, there's a tool that can save you a lot of hassle: a cabinet hardware jig. It's basically a template with movable guides and measurement markings to help you drill holes in the right spots.