Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / productivity / SharePoint

SharePoint 2016 Installation

5.00/5 (3 votes)
28 Sep 2015CPOL6 min read 10.1K  
In this article, I’ll walk you through the SharePoint 2016 installation on Hyper-V. I used Windows 10 as the Hyper-V host, but you can use any OS which supports Hyper-V.

In this article, I’ll walk you through the SharePoint 2016 installation on Hyper-V. I used Windows 10 as the Hyper-V host, but you can use any OS which supports Hyper-V. The high level steps are:

  1. Install Hyper-V
  2. Configure the virtual network
  3. Create the Virtual Machine
  4. Install and configure the Operating System
  5. Install and Configure the SQL server
  6. Install and configure SharePoint 2016

Install Hyper-V

  1. In the control panel open ‘Turn windows features on or off’
  2. Ensure that Hyper-V is checked. Click OK. It will install Hyper-V and restart the computerTurn-Windows-Features-On-Off
  3. From the windows menu access the Hyper-V manager

hyper-v

Configure the virtual network

  1. In the Actions section on the right, click on Virtual Switch Manager.
  2. Select external and click on Create Virtual SwitchExternal-Network
  3. Give a name and click Apply. Select the network adapter of your internet connection in the external drop down.
  4. Select Internal and click on Create Virtual Switch

Create the Virtual Machine

  1. For this we will need the Windows Server 2016 Technical Preview 3 iso file. You can search and download the preview version.
  2. Click on New -> Virtual MachineNewVirtualMachine
  3. Click Next on the start screen
  4. Enter a location where you have sufficient space. Give a name to the virtual machine. Click Next.
  5. Select Generation 2, click Next
  6. Assign available memory. It is recommended to keep 4 GB for the host machine. If you have less memory try assigning 2GB to the host machine and remaining to the virtual machine. click Next.
  7. Select the internal network switch which we created earlier, click Next
  8. Ensure the virtual hard disk location is correct, click Next
  9. If you downloaded the OS iso file, you can select it here. It will be loaded to the virtual DVD drive.
  10. Click Add Hardware -> Network Adapter, don’t assign to any virtual switch
  11. Click OK to create the virtual hard disk.
  12. Connect to the virtual machine and start

Install and configure the operating system

  1. If you loaded the iso, it will prompt to boot from CD. Press any key and follow the instructions to install the OS
  2. From the windows menu search for Active Directory Services
  3. In the server manager, click on Local Server, click on the computer name.
  4. Update the computer name to what you like e.g SP2016
  5. Click on Change and click OK
  6. When prompted restart the system
  7. In the server manager, click on Local Server, click on the link next to windows firewall and disable it
  8. Open the Network Connections.
  9. Rename the one which is connected to internal and the disconnected one to external (we know this because we did not assign the virtual switch for this adapter).
  10. Right click on the internal network connection and go to properties
    1. Uncheck Internet Protocol version 6
    2. Select Internet Protocol version 4 and properties
    3. Enter the IP address as 192.168.150.1 and click on the subnet mask. It should populate 255.255.255.0
    4. Update preferred DNS server as 192.168.150.1IP-Config
  11. Right click on the external network connection and go to properties
    1. Uncheck Internet Protocol version 6
    2. Select Internet Protocol version 4 and properties
    3. Set the preferred DNS server as 127.0.0.1
    4. Set the alternate DNS Server to 4.2.2.4External-IP-Config
  12. Now go to the Hyper-V settings and set the virtual switch of adapter we added to external.
  13. In the VM disable and re-enable the external network adapter
  14. On the server manager, click ‘Add roles and features’
  15. Select Role-based or feature-based installation
  16. Ensure Select a server from the server pool is selected.
  17. Select SP2016 from the Server Pool and click next
  18. Select Active Directory Domain Services
  19. Click Add Features, Next and InstallAD Services
  20. In the Results view, click on the Promote this server to a domain controller link.Promote-to-domain-controller
  21. Select Add a new forest Give some domain name like SP.comAdd-to-new-forest
  22. Enter a passwordAD-password
  23. Click next on the DNS Options screen
  24. Ensure the NETBIOS is whatever domain you had selectedNetBios
  25. Click Next on the Paths and on the review page
  26. On the prerequisites screen if you get an error, cancel the window, restart the VM
  27. And follow the above steps and click on Install

Install and Configure the SQL server

  1. Search and download the SQL Server 2016 Community Technology Preview 2.3
  2. Before installing the SQL Server, we need to install the .Net framework 3.5 otherwise, we get the error that .Net framework 3.5 is required.
  3. Go to the Server Manager -> Dashboard -> Add roles and features -> Click on features and select .Net framework 3.5SQL-Install-Error
  4. Run the SQL Server setup file
  5. On the installation center dialog – Click Installation tab on the left
  6. Select New SQL Server stand-alone installation or add features to an existing installation linkSQL-Start
  7. On the Setup Role page, leave the default and click NextSetup-Role
  8. Select the following features and click Next
    • Instances Features
      • Database Engine Services
      • Full-Text and Semantic Extractions for Search
      • Analysis Services
    • Shared Features
      • Reporting Services – SharePoint
      • Reporting Services Add-in for SharePoint Products
      • Management Tools – Basic
      • Management Tools – Complete
  9. Add Reporting Services only if you want the BI features
  10. On the installation rules click Next
  11. On Instance configuration, leave the default and click NextDB-Engine-Config-Filestream
  12. In Server Configuration
  13. For the SQL Server Agent set the Startup Type to Automatic.
  14. For the SQL Server Database Engine Change the Account Name to NT AUTHORITY\SYSTEM.
  15. For the SQL Server Analysis Services Change the Account Name to NT AUTHORITY\SYSTEM.Server-Configuration
  16. Click Next
  17. On the database engine configuration,
  18. Click Add current user so your name comes up in the SQL Server Administrators list
  19. On the FILESTREAM tab, check Enable FILESTREAM for Transact-SQL access and check the Enable FILESTREAM for file I/O access also.DB-Engine-Config-Filestream
  20. On the analysis services configuration, again click on Add current user and click Next
  21. On the reporting services configuration, leave default and click Next
  22. Click on Install
  23. Click Close, after the installation is completed
  24. Open the SQL Server configuration manager
  25. Click on SQL Server Network Configuration >> Protocols for MSSQLSERVER.
  26. Right click on Named Pipes and select Enabled

Named-Pipes

Install and configure SharePoint 2016

  1. Search and download the SharePoint Server 2016 Preview
  2. Mount the ISO and open the dvd drive to auto run. We should get a splash screen asSharePoint-Splash
  3. Click on Install software prerequisitesPrereq-step1
  4. Click Next. Accept LicenseSharePoint-Prereq-License
  5. Click Next and then Finish once it is completed.Prereq-Finish
  6. This will restart the system
  7. The pre-requisite installer completes but an error states that it was unable to configure the Internet Information Services (IIS) web server
  8. Refer to Known Issues in SharePoint Server 2016 IT Preview
    1. Open Windows PowerShell in an elevated mode, Run as administrator, and run the following commands:
    2. Add-WindowsFeature NET-HTTP-Activation,NET-Non-HTTP-Activ,NET-WCF-Pipe-Activation45,NET-WCF-HTTP-Activation45,Web-Server,Web-WebServer,Web-Common-Http,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-App-Dev,Web-Asp-Net,Web-Asp-Net45,Web-Net-Ext,Web-Net-Ext45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Health,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Security,Web-Basic-Auth,Web-Windows-Auth,Web-Filtering,Web-Digest-Auth,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Tools,Web-Mgmt-Console,Web-Mgmt-Compat,Web-Metabase,WAS,WAS-Process-Model,WAS-NET-Environment,WAS-Config-APIs,Web-Lgcy-Scripting,Windows-Identity-Foundation,Xps-Viewer -verbose
    3. Restart the VM
  9. Run the SharePoint installer again and click Install SharePoint Server
  10. Click on Close once installation is completedSP-Install-Finish
  11. In the configuraton wizard, click next
  12. Select Create a new server farmNewFarm
  13. Specify the database server detailsDB-Settings
  14. Enter the passphrase
  15. Select Single Server Farm
  16. Specify a port number or accept defaultPort-Number
  17. Confirm the settingsConfirm
  18. You should get a configuration successful messageConfiguration Successful
  19. Click Finish. It will open the central administration.

Congratulations! You have set up the SharePoint 2016 Farm.

You might want to check out my other post – WebMethods in SharePoint using JQuery

The post SharePoint 2016 Installation appeared first on SharePoint Guide.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)