Here i will explain you how to install SharePoint 2010 on Windows Server 2008 x64 R2 and configure it.
Prepare your server by —>
Installing OS Windows Server 2008 x64 R2 and Windows update
Configure Active Directory if you would like to use domain account
Install SQL Server 2008
Install SharePoint 2010
You can install SharePoint using the following steps
1. Install software prerequisites
2. Installed SharePoint Server
Installed single server Standalone using default settings

Choose Server Type - Standalone because Complete Installation will not work without Active Directory
3. Run Configuration Wizard

4. Configuration Complete and open Central Administration automatically or open from start menu
5. Opened Central Administration in browser without any Error
6. SharePoint Create a Default site SharePoint-80 with default port 80