Installing on a domain controller is not recommended....
https://technet.microsoft.com/en-us/library/ms.exch.setupreadiness.warninginstallexchangerolesondomaincontroller(v=exchg.160).aspx
Note the part about shutting down Exchange Server. And the Global Catalog part which is funny I think.