Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
his post is a complete solution for setting up SharePoint 2016 on-premise. Most of the documents available online do not provide a complete solution/steps to install SharePoint 2016 with all of the prerequisites to be installed manually. Also, troubleshooting steps are provided for some of the most common mistakes done while installing. This post will guide you how to set up the SharePoint server 2016 in your VM environment.
This document is a simplified guide written to cover all aspects and scenarios encountered while setting up the prerequisites for SharePoint 2016, system requirements, errors and problems faced during set up.
In this guide we will use Windows 2k12 R2 server as an example and explain the detailed procedure.
Prerequisites:
1. A Windows 2k12 server file (Windows_server_2012_r2_with_update_x64_dvd.iso)
According to your requirement and the installation scenario use the below configurations:
allation scenario | Deployment type and scale | RAM | Processor | Hard disk space |
---|---|---|---|---|
Single server role that uses SQL Server | Development or evaluation installation of SharePoint Server 2016 with the minimum recommended services for development environments. Use the Single-Server farm role that will let you choose which service applications to provision. For additional information on Single-Server farm role, see Overview of MinRole Server Roles in SharePoint Server 2016 | 16 GB | 64-bit, 4 cores | 80 GB for system drive 100 GB for second drive |
Single server role that uses SQL Server | Pilot or user acceptance test installation of SharePoint Server 2016 running all available services for development environments. | 24 GB | 64-bit, 4 cores | 80 GB for system drive 100 GB for second drive and additional drives |
Web server or application server in a three-tier farm | Development or evaluation installation of SharePoint Server 2016 with a minimum number of services. | 12 GB | 64-bit, 4 cores | 80 GB for system drive 80 GB for second drive |
Web server or application server in a three-tier farm | Pilot, user acceptance test, or production deployment of SharePoint Server 2016 running all available services. | 16 GB | 64-bit, 4 cores | 80 GB for system drive 80 GB for second drive and additional drives |
https://technet.microsoft.com/en-us/library/cc262485(v=office.16).aspx#Anchor_1 |
2. Active Directory Server in the same Domain where you will be installing SharePoint 2016 Server
3. SQL Server 2014 (SQLServer2014SP2-Full-x64-ENU.iso)
4. SharePoint server 2016 with license (SharePoint_server_2016_x64_dvd_8419458.iso)
Note: Install Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 update: April 2014.
All the steps are explained in detail with pictures below:
Step 1:
As we are using Windows Server 2012 R2 in our example, let's update the server with all the latest available updates, the updates can vary depending upon the win2k12 r2 iso file you have.
It's recommended to install all the latest available updates from Microsoft.
Once the system is updated restart the server.
Step 2:
Install the Active Directory server on Win2k12 R2 server. The step by step procedure to set it up is given here: https://support.rackspace.com/how-to/installing-active-directory-on-windows-server-2012/.
AD server is one of the prerequisites which needs to be installed on the same domain where the SharePoint server will be installed.
Once AD is installed properly the System is ready for step 3.
Step 3
In order to install and configure SQL server 2014 you need to install .NET framework 3.5 first, which can be installed as shown below.
* Click on Server Manager-->Manage-->Add Roles and Features-->Select Features tab as shown below. * Select .NET Framework 3.5 Features and include the (.NET 2.0 and 3.0) by clicking on the check boxes and click -->Next-->Install
* The installation will take around 1 - 3 minutes.
Step 4
After installing the .NET Framework 3.5, which is a requirement for SQL2014, begin installing the SQL 2014 server on the Win2k12 Server.
Step 5
Once the SQL 2104 Server is installed we are ready to start with the SharePoint Server 2014 installation.
There are some prerequisites for the SharePoint 2016 which need to be installed before directly installing SharePoint 2016. Follow the steps below which will make it easy for installing all the required components.
• Application Server Role, Web Server (IIS) Role
• Microsoft SQL Server 2012 Native Client
• Microsoft ODBC Driver 11 for SQL Server
• Microsoft Sync Framework Runtime v1.0 SP1 (x64)
• Windows Server AppFabric
• Microsoft Identity Extensions
• Microsoft Information Protection and Control Client 2.1
• Microsoft WCF Data Services 5.6
• Microsoft .NET Framework 4.6
• Cumulative Update Package 7 for Microsoft AppFabric 1.1 for Windows Server (KB3092423)
• Visual C Redistributable Package for Visual Studio 2012
• Visual C Redistributable Package for Visual Studio 2015
Download-SP2016PreReqFiles
Open PowerShell as administrator and run the command as shown in the figure below:
Run the PoweerShell script from the location where the file is saved. Ex: " Desktop>.\Download-SP2016PreReqFiles.ps1 "
Note: Before running the script, create a folder inside C:\ or any desired folder where you want to download the prerequisites file, once the download is completed you will see all of the files in the folder you have given. (here C:\Pre is the folder name)
The above picture shows successful completion of the prerequisites and all components downloaded into the given folder.
Note: The script does not include 2 components, they are: Microsoft WCF Data Services 5.6 and Cumulative Update Package 7 for Microsoft AppFabric1.1 Windows Server (KB3092423), which can be downloaded from the trusted Microsoft locations https://www.microsoft.com/en-in/download/details.aspx?id=39373 and https://www.microsoft.com/en-us/download/details.aspx?id=49171 respectively.
.\WindowsServerAppFabricSetup_x64.exe /i CacheClient","CachingService","CachingAdmin /gac
After installation, restart the Win2k12 R2 server.
Note: Most of the prerequisites like sqlncli and .NET framework 4.6 will be installed when Windows update is performed, hence update is a necessary step which takes care of most of the prerequisites.
Note: Troubleshooting: If the configuration fails with the following failure message as shown below, then while installing WCF data services and AppFabric you have not unblocked the files. Now unblock both the files and reinstall them. Restart the Win2k12 R2 server and begin the configuration again.
This is the final step for the SharePoint 2016 server setup. These steps are tested more than 5 times on a virtual machine environment. So there is a maximum chance for the above provided steps to work on your environment. Also some of the troubleshooting steps are mentioned in the article which will help you to handle the problem.
Feel free to post any comments on this or if you get stuck between any steps.
The above data has been referred from multiple Microsoft blogs on SharePoint 2013 installation and modified to suit SharePoint 2016 which has been made easy for the customer by gathering all the information in one place.
Reference links:
https://technet.microsoft.com/en-us/library/cc262485(v=office.16).aspx#section4
https://technet.microsoft.com/en-IN/library/cc262957.aspx
Thanks for reading
Note: How to unblock an application in windows
Q. What happens if you are blocked and continue installation?
Ans: If you run the file /application when it is blocked you will not succeed in the installation it will fail or even if the installation goes through
it will not be completely installed you will encounter errors .
Q. How to Unblock file /application?
Ans: First check if your application is blocked or not . Go to your application -->Right click on the application or file -->Check if the file is unblocked as shown in the below screen shot
This is a blocked Application
Click on the unblock button as shown in the above screen shot and click Apply->Ok
Your application is unblocked now . Proceed with the installation.
Information Source: Microsoft SharePoint Guide.