He was educated at Richmond School in Yorkshire and then at Christ Church, Oxford, where he studied mathematics and became a lecturer.
Rugby School is a famous public school in Warwickshire, England, but it's not associated with Lewis Carroll.