The chemical reactions and pathways resulting in the formation of the peptidoglycan-based cell wall. An example of this process is found in Escherichia coli.