Tuesday, November 10, 2015

Install Windows Server 2012 and SharePoint 2016 IT Preview on Virtual Machine

This article provides instructions to setup a Virtual machine to host SharePoint Server 2016 IT Preview as standalone environment. In this example we are using VM Player 7 to host SP2016.

  1. Install VM Player 7

  1. Map Windows Server 2012 R2 ISO file to drive using Virtual Clone Drive

  1. Provide personalized login name and password to login to OS.

  1. Select the location in the local drive where you want to use the virtual machine.
  1. Specify Disk Capacity. The minimum recommended is 60GB.

  1. Click on Customize Hardware… and set the RAM for this VM. The minimum recommended is 12 GB for good performance.

  1. Set the Display for VM based on your guest machine resolution. Also set other required hardware settings.

  1. Click on Finish to start the OS installation in VM

  1. Windows Server 2012 setup is starting to install….

  1. OS Installation is complete.

Install SharePoint 2016 IT Preview

  1. Mount SharePoint 2016 ISO to a drive and install.
  1. The setup returned error
  1. The above error was because the prerequisites were not installed. So ran prerequisiteinstaller.exe from the setup path

  1. Error occurred during prerequisite installation
  1. Above error occurred while configuring Web Server (IIS) role. Also install WCF services and Web Server Role Services
  1. After Adding required features and configuring the services, run the prerequisiteinstaller.exe again
  1. Prerequisite installer failed again as an error occurred again. Following is the error when trying to run the setup.exe
  1. Looks like there is some issue in installing products internet connection is required. So enabled the settings to allow using internet connection for VM Ware from my local machine.  I’ve selected NAT which gives a virtual machine access to network resources using the host computer's IP address.

  1. After the above settings, Prerequisite installation started in the VMWare player
  1. However the installation failed again with following error.
  1. Following is error message logged in the prerequisite installer log file that the prerequisiteinstaller.Arguments.txt is missing.

  1. Looks like there still more features need to be installed manually

  1. Prerequisite installation is completed successfully and press finish to restart the machine.

  1. Prerequisite Installation is completed successfully. Start the Setup again to install SP 2016 and enter the product Key available at the Microsoft download
  1. Accept the terms and select the file location.

  1. Installation started

  1. Error occurred during setup.
  1. Following error occurred while closing the installation window. “Microsoft Setup Bootstrapper has stopped Working.”

  1. Noticed that the internet connection is not enabled for Virtual Machine, so enabled it.
  1. Installation completed successfully and Configuration Wizard started.
  1. Click Next
  1. Click Yes and Next

  1. Select Connect to an existing server farm for standalone connection and create a new server farm for farm account
  1. Error occurred while specifying Configuration Database settings.
  1. After referring to the TechNet articles and forum, it looks like server role parameter is required when joining a farm. As suggested by the articles, the new spconfiguration database has been created using following PowerShell command.

New-SPConfigurationDatabase –DatabaseName SharePoint_Config –DatabaseServer WINDOWS2012VM –AdministrationContentDatabaseName SharePoint_Content –Passphrase (ConvertTo-SecureString Summer01 –AsPlaintext –Force) –FarmCredentials (Get-Credential) -localserverrole SingleServerFarm
  1. After executing the above commands, the installation proceeds.

  1. Specify Port number and authentication provider for the Web Application

  1. SharePoint installation successfully completed.

  1. A look at SharePoint 2016 Team site home page.