Definition:Local Ring/Commutative/Definition 2

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

The ring $A$ is local it is nontrivial and the sum of any two non-units is a non-unit.

Also see

 * Equivalence of Definitions of Commutative Local Ring