Basics on the Theory of Local Rings