Thursday, February 26, 2015

SharePoint 2010: How to install onto Windows Server 2012

Introduction

This posting captures notes regarding building a small, two-server SharePoint Server 2010 enterprise farm on Windows Server 2012.  The particular version used here is SharePoint Server 2010 SP2.2 (SW_DVD5_SharePoint_Server_2010w_SP2.2_64Bit_English_MLF_X19-65035).  This version is available from your VLC or MSDN.

Procedure
  1. Verify Hardware Requirements
    1. SharePoint Server 2010
    2. SQL Server 2012
  2. Provision Installation Accounts
    1. Initial Deployment Accounts
    2. Add these accounts to local Administrators group on all farm servers.
      This automatically grants Log on as a batch job local user right to the farm service account.
    3. Grant Log on as a service local user right to the Farm service account.
  3. Install SQL Server 2012.
    1. Configure using spSql service account.
    2. Grant SharePoint Setup User Administrator account the SQL Server SysAdmin role.
  4. Create Temporary DNS Pointer
    1. Edit the server HOSTS file here: %systemroot%\system32\drivers\etc\.
    2. Add an entry for the server IP address and the prospective new DNS entry.
  5. Add Roles
    1. IIS 6 Management Compatibility: Web Server/Management Tools/
  6. Add Features
    1. Desktop Experience: Feature/User Interfaces and Infrastructure/Desktop Experience
  7. Install Prerequisites
    1. Run PrerequisiteInstaller.exe.
  8. Install SharePoint 2010
    1. Run Setup.exe on SP2.2 disk.
    2. Do NOT run configuration wizard.
    3. Install February 2014 CU.
  9. Setup 32-bit database alias for default port
    1. Start > Run > cliconfg.exe.
    2. General tab > Enable TCP/IP.
    3. Alias tab > Add.
    4. Enter name etc; enter port 1433; uncheck Dynamically determine port.
    5. Click OK.
  10. Setup 64-bit database alias for default port
    1. Start > Run > C:\Windows\SysWOW64\cliconfg.exe.
    2. General tab > Enable TCP/IP.
    3. Alias tab > Add.
    4. Enter name etc; enter port 1433; uncheck Dynamically determine port.
    5. Click OK.
  11. Disable Loop back check
    1. Open elevated PowerShell.
    2. Execute this script: New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck"  -value "1" -PropertyType dword
  12. Create Farm Administration and Configuration Databases
    1. Open an elevated SharePoint Management Shell
    2. Execute these commands
      New-SPConfigurationDatabase –DatabaseName <dbname>  –DatabaseServer <aliasname> –AdministrationContentDatabaseName <admindbname>
    3. At the prompt, enter authentication details for the farm service account.
    4. Enter the pass phrase: I recommend just using the farm service account password.
      If you see the error,  This SharePoint Farm currently has pending upgrades, execute this command:

      Psconfig –cmd upgrade –inplace b2b –wait –force
      If you see this error, Cannot connect to database master at SQL Server, you likely need firewall configuration - follow the steps in this article.
  13. Configure the SharePoint 2010 server
    1. Run the SharePoint Products Configuration Wizard.  
    2. Once it completes, do NOT choose the option to configure services.
  14. Create a new web application 
    1. Use NTLM authentication.
  15. Create a new site collection
References
  • The primary purpose of this farm is for migration of a SharePoint 2007 instance to SharePoint 2013.  The instance created here is all that's needed in order to successfully migrate a SharePoint 2007 content database to SharePoint 2010.
  • Using SW_DVD5_SharePoint_Server_2010w_SP2.2_64Bit_English_MLF_X19-65035 is the simplest way to install SharePoint 2010 on Windows Server 2012.
  • If you run Prerequisite Installer, and it fails with a message about being unable to download something, check the browser security settings.  In particular, check the Download setting for the Internet zone.  Make sure that file download is Enabled.

No comments: