Altphilologe, Hofmeister und Bibliothekar in Dresden, Gymnasialdirektor und Professor für Griechisch und Geschichte in Ulm