In that case Linux is the answer.
Linux would run great on those older boxes. They wouldn’t even need to upgrade the hardware in most cases. A simple, inexpensive solution.