Difference between ANOVA, Linear model,…..

At this site is given one of the best explanation on the difference between anova and a regression model:

http://www.pmean.com/08/RegressionAndAnova.html

Plus, look here for a good place to know about the process to calculate anova

https://en.wikipedia.org/wiki/One-way_analysis_of_variance

https://en.wikipedia.org/wiki/Analysis_of_variance

and two-way anova

https://en.wikipedia.org/wiki/Two-way_analysis_of_variance

In this document it is a good summary of functions in R to be used with linear models and anova:

http://www.math.smith.edu/r/excerpt-4.pdf