First at all, you must know that this is a hazardous method. It is stronglly recomended to do not install SharePoint into a Domain Controller because of performance, security and others.
If you really want to do that, you can use this method but, only on a test environment and for your own risk.
Please read these posts before installing:
- SharePoint on a Domain Controller
- Setting Up the Development Environment for SharePoint Server
- A SharePoint 2010 Install Experience
- Some questions on installing SharePoint 2010 Beta
- Install SharePoint 2010 Public Beta on Standalone Windows Server 2008
- ServerName: Srv-01, Windows Server Ent 2008 R2, x64
- Roles: Active Directory, IIS, DNS, CA
- Another apps: Exchange Server 2010 Ent, SQL Sever 2008 Std + SP1 + Cumulative update package 2 for SQL Server 2008 Service Pack 1. SQL Instance: SharePoint
- Prerequisites for SPF2010 installed
First step is to install SPF 2010 using a config file. You cannot install standalone version of SPF 2010 but you can install Farm version.
Download SPF 2010 and extract instalation kit into a distinct folder.
Identify and edit config.xml file, using notepad or other XML Editor. You can find the file in %extractedpath%\Files\SetupFarmSilent\
(Run CMD in Admin Mode)
After that run setup.exe using /config parameter and full path to config.xml file as paramater.
D:\SPF2010\setup.exe /config D:\SPF2010\Files\SetupFarmSilent\config.xml
After install, DO NOT RUN configuration Wizard. It is better to create first the database using psconfig tool.
Navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
psconfig -cmd configdb -create -server srv-01\SharePoint -database SPF_Config_DB -user SharePoint\Admin.sql -password Abc*123 -passphrase C0mpl3x-P@ss0rd -admincontentdatabase SPF_Admin_Content_Db
After that, run SharePoint 2010 Products Configuration Wizard.
I was trying to install SPF2010 integrated with Active Directory, by using –addomain and –adorgunit parameters but I wasn’t able to create a new content for a SharePoint site.
Run Central Admin, but DO NOT USE Configuration Wizards because it is possible to alter Default site from IIS.
Remember: Use this methond only for test servers.