Required
Windows server 2008 SP2 / R2 / Windows 7
SQL 2008 with SP1
Visual Studio 2010
Microsoft Office 2010
SharePoint 2010
SharePoint 2010 Software Development Kit (SDK)
Hardware
Processor 64-bit
Hard disk 100 GB for system drive (c:\) *SharePoint 2010 environment need min 80GB on system.
RAM 4GB or more
Steps
-
Operation System and Client Software Installation
- Install Windows Server 2008 SP2 / Windows Server 2008 R2
- Run Windows Update
- Install Visual Studio 2010
- Install Microsoft Office 2010
- Install SharePoint Designer 2010
- Install SharePoint 2010 Software Development Kit (SDK)
- Install SQL 2008 with SP1 / Install SQL 2008 R2 as a Prepared Image
- Install SharePoint 2010 Prerequisites
- Install SharePoint Server 2010 Binaries without configuration wizard
- Run sysprep.
- Copy of the image and Start Virtual PC
- SharePoint Configuration by using PowerShell AutoSPInstaller script
Operation System and Client Software Installation
Since you will be working with SharePoint, I think you have a good knowledge of installation of software, so I will not go through the detailed installation.
Install the following software on the Windows Server 2008 R2:
- Install Windows Server 2008 SP2 / Windows Server 2008 R2
- Run Windows Update
- Install Visual Studio 2010
- Install Microsoft Office 2010
- Install SharePoint Designer 2010
- Install SharePoint 2010 Software Development Kit (SDK)
- Other additional client tools …
Install SQL 2008 with SP1 / Install SQL 2008 R2 as a Prepared Image
- Run SQL Server 2008 R2 Setup.exe from DVD.
- Select Advanced from the left navigation menu.
- Click on Image Preparation of a stand-alone instance of SQL Server.
- After Configuration Checker completed, click OK.
- Accept the License and click OK.
- Select the features to install:
- Enter an Instance ID, its required after cloning.
- Click Next twice.
- Click Prepare
- After Complete screen, click Close.
Install SharePoint 2010 Prerequisites
- Start SharePoint 2010 Installation form DVD\CD\Image and run PrerequisiteInstaller.exe.
- Review and Click Next.
- Accept the license and click Next.
- After installation Completed click Next.
- Restart Virtual PC
Install SharePoint Server 2010 Binaries without configuration wizard
- Start SharePoint 2010 Installation from CD\DVD\Image Setup.exe.
- Enter License Key and click Continue.
- Select Server Farm install.
- Select Complete on Server Type and click Install now.
- After Installation Completed please check out/clear the Run the SharePoint Products Configuration Wizard now checkbox, and click close.
Sysprep for cloning new Virtual PC
- Run sysprep.exe from C:\Windows\System32\sysprep\sysprep.exe
- In System Cleanup Action select “Enter System Out-of-box Experience(OOBE)” and select the Generalize checkbox.
-
In the Shutdown Options: choose Shutdown and click OK.
Copy of the image and Start Virtual PC
Then, we have taken all the basic installation of software, After Sysprep, you have made virtual machine to the basic image. You may copy and re-use this base image, if the development environment crashes, or another developer can set up a development environment very quickly. You save a lot of time next time.
When you start the Virtual PC after Sysprep:
Now this Virtual PC has unique SID and you can rename your Computer name. From here you can just run the SharePoint 2010 Product Configuration Wizard to complete the SharePoint Farm.
Or you can use PowerShell Script to run the configuration.
Please take a look the AutoSPInstaller Script thanks to Brianlala.