Archive

Archive for the ‘Hyper-V’ Category

Hyper-V or Virtual PC – Wireless Network Connection

Step 1

  1. Open the Hyper-V Manager and select your server.
  2. Select Virtual Network Manager… from the action pane (on the right).
  3. Select New virtual network and choose to Add an Internal network.
  4. Give the new virtual network the name you want hit OK.

Step 2

  1. Open the Control Panel and open Network and Sharing Center.
  2. Select Manage network connections from the list on the left.
  3. Locate the icon for your wireless network adapter, right click on it and select Properties.
  4. Change to the Sharing tab.
  5. Check Allow other network users to connect through this computer’s Internet connection.
  6. If you have multiple network adapters you will need to select the specific entry for the internal virtual network switch.
  7. Click OK.
Categories: Hyper-V, Wireless Network

How to install SharePoint 2010 Development Environment?

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

  1. Operation System and Client Software Installation
    1. Install Windows Server 2008 SP2 / Windows Server 2008 R2
    2. Run Windows Update
    3. Install Visual Studio 2010
    4. Install Microsoft Office 2010
    5. Install SharePoint Designer 2010
    6. Install SharePoint 2010 Software Development Kit (SDK)
  2. Install SQL 2008 with SP1 / Install SQL 2008 R2 as a Prepared Image
  3. Install SharePoint 2010 Prerequisites
  4. Install SharePoint Server 2010 Binaries without configuration wizard
  5. Run sysprep.
  6. Copy of the image and Start Virtual PC
  7. 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

  1. Run SQL Server 2008 R2 Setup.exe from DVD.
  2. Select Advanced from the left navigation menu.

  3. Click on Image Preparation of a stand-alone instance of SQL Server.
  4. After Configuration Checker completed, click OK.
  5. Accept the License and click OK.
  6. Select the features to install:
  7. Enter an Instance ID, its required after cloning.
  8. Click Next twice.
  9. Click Prepare
  10. After Complete screen, click Close.

Install SharePoint 2010 Prerequisites

  1. Start SharePoint 2010 Installation form DVD\CD\Image and run PrerequisiteInstaller.exe.
  2. Review and Click Next.
  3. Accept the license and click Next.
  4. After installation Completed click Next.
  5. Restart Virtual PC

Install SharePoint Server 2010 Binaries without configuration wizard

  1. Start SharePoint 2010 Installation from CD\DVD\Image Setup.exe.
  2. Enter License Key and click Continue.
  3. Select Server Farm install.
  4. Select Complete on Server Type and click Install now.
  5. 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

  1. Run sysprep.exe from C:\Windows\System32\sysprep\sysprep.exe
  2. In System Cleanup Action select “Enter System Out-of-box Experience(OOBE)” and select the Generalize checkbox.
  3. 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.

 

Follow

Get every new post delivered to your Inbox.

Join 41 other followers