Data Sheet 45, from the Guild of American Luthiers, explains how to tune a guitar using the fifth and twelfth frets for full octave harmonics and avoiding the seventh fret harmonics, which are not quite perfect fifths.