Most Macintosh computers being sold and bought nowadays are desktops or laptops. Though there are versions being sold that is meant to run as servers, these are not really very popular as a lot of people prefer other systems. On the other hand, Linux is a very flexible operating system that can be used for a lot of applications including desktop and servers. You can find an install packages that would transform a desktop installation into a server computer and vice versa as long as your hardware is capable
Read more: Difference Between Macintosh and Linux | Difference Between | Macintosh vs Linux http://www.differencebetween.net/object/difference-between-macintosh-and-linux/#ixzz3SDGLwhLu