The density-functional theory (DFT) for a system of ions and electrons having overall charge neutrality is presented. For a given temperature and free-electron density, the theory self-consistently determines the various pair-distribution functions, bound states, and the effective ion charge $\overl...