For what it's worth, the Marine Corps approved of this movie, part of their new lenient image no doubt.
Due to its huge viewing figures when first aired, this was also given a limited theatrical release.
The United States Marine Corps has two, and only two, basic training installations for the initial enlisted training, commonly called boot-camp. Marine Corps Recruit Depot San Diego (where this movie is based), and Marine Corps Recruit Depot Parris Island, South Carolina. Officers receive their basic training (Officer Candidate School) at Marine Corps Base, Quantico, Virginia.