How to Measure a Mountain

It’s not easy to measure a mountain. Mount Everest’s height has been known since the middle of the nineteenth century, but how did they figure it out with no altimeters or GPS?