Question: how to install domain controller role?
Answer: Log into your Active Directory Server with administrative credentials.
Open Server Manager → Roles Summary → Add roles and features.
The "Before you begin" screen, which pops up next, is purely for an informational purpose. ... 
Select the installation type.