Visit
Jasons Internet Guitar Watch.
Why learn the notes on the fretboard? To apply scales and chords.
I recommend studying a fretboard chart as well as using methods such as this one.
There are two steps to learning where each note lies on the fretboard. 1) Knowing each note for the 6th and 5th strings and 2) Applying the two octave shapes