In a 6-1 vote, Gainesville approved a three-year contract to install red-light cameras at two intersections to address traffic safety concerns.