How to set up your own Mac server (with an old or new Mac)

A Mac server is a great way to repurpose an old Mac; it’s easy to set up, and can provide useful file, video, and music sharing, and other services, for a small office or even your home.