Definition:Local Ring/Commutative/Definition 3

Definition
Let $A$ be a commutative ring with unity.

Let $M \subseteq A$ be the subset of the non-units of $A$.

The ring $A$ is local $M$ is a proper ideal of $A$.

Also see

 * Equivalence of Definitions of Commutative Local Ring