Growth of Beam–Plasma Instabilities in the Presence of Background Inhomogeneity