Preparation
- ISO and Update Files
- Copy SP iso to all servers to your chosen drive in a folder called install\SharePoint. I usually choose a drive other than C:. So in this case we'll use the D: drive.
- Copy the following important windows server 2008 R2 updates to d: drive folder called install\WindowsUpdates
- The SharePoint parsing process crashes in Windows Server 2008 R2 (KB 2554876).
- FIX: IIS 7.5 configurations are not updated when you use the ServerManager class to commit configuration changes (KB 2708075).
- Hotfix: ASP.NET (SharePoint) race condition in .NET 4.5 RTM:
- Windows Server 2008 R2 SP1 (KB 2759112)
- OR if you're using Windows Server 2012, just install the hotfix for the race condition:
- Windows Server 2012 (KB 2765317)
- Turn off UAC
- Prerequisites
- Mount SP iso and run prerequisiteinstaller.exe. Restart Server.
- Mount iso again and in CMD type F: (mounted drive)
then type prerequisiteinstaller.exe /continue to continue the installation where it left off. - Updates
- Install all the updates listed above for your OS
- Restart if asked
- Loopback
- Run Disable loopback. In Powershell, run the following command as administrator (may have to reboot server)
New-ItemProperty HKLM:\System\CurrentControlSet\Control\Lsa -Name "DisableLoopbackCheck" -value "1" -PropertyType dword
Install SQL Server 2012
Instead of typing in all the steps here, I highly recommend the article Instruction Guide for Installing SQL Server 2012 SP1 for SharePoint 2013. It is very detailed and very accurate and has lots of pictures to help guide you through.After you are done installing SQL, you need to set the max degree of parallelism to 1.
Using SQL Server Management Studio configure the max degree of parallelism option by performing the following steps:
- In Object Explorer, right-click a server and select Properties.
- Click the Advanced node.
- In the Max Degree of Parallelism box, select the maximum number of processors to use in parallel plan execution to 1.
Install SharePoint
Now follow these remaining steps. I've kept it to the most simple steps to make it quick and easy.- Install SharePoint 2013
- Create Service Apps - I included instructions below on how to use the wizard AND how to install them yourself. This is really personal preference. The service apps I've selected are the bare bones. You can add more as needed for your development efforts.
- Quick and easy - When CA opens on the MI server, choose to let the Wizard configure service apps for you. Only check the following service applications:
- State Service
- Usage and Health Data Collection
- Managed Meta Data
- Search
- A little harder - Create Service Application - This is my preferred order:
- Set up Virus exclusions
- Configure Logging
- Address SVCHOST.exe memory leaks by Disabling the Windows Update Service
- Address Noderunner memory leaks
- Install SharePoint CUs to match your production environment. Be sure to reboot your dev server and run the SharePoint config wizard after install.
See SharePoint 2013 Build Numbers by Todd Klindt for a comprehensive list of SharePoint updates. My rule of thumb is that I don't install any hotfixes unless I have a serious problem. I'll update CUs about 3 months behind the current date again, if I'm having issues. For example, my farm had many distributed cache issues and so I installed the September 2014 CU which helped greatly. It took a bit of reading through all the CU information to find which CUs were somewhat stable though. I'd be more inclined to install Service Packs, but again waiting for some months to let any bugs get noted first. - Install AppFabric CU
Configure Managed Service Account
In Central Admin > Security > Manage Service AccountsAdd your account as a managed account. DO NOT select to enable automatic password change.