Selenium server is developed using Java. So, you can setup the Grid using any platform that supports Java compiler. Java works with most of operating systems. Windows, Mac OS X, Solaris, Linux, Unix, etc.
For the client side, you can use Java, C#, Python and language of your choice. So, selenium script can be executed on any OS supporting compilers specified.