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:
- Install Hyper-V
- Configure the virtual network
- Create the Virtual Machine
- Install and configure the Operating System
- Install and Configure the SQL server
- Install and configure SharePoint 2016
Install Hyper-V
- In the control panel open ‘Turn windows features on or off’
- Ensure that Hyper-V is checked. Click OK. It will install Hyper-V and restart the computer
- From the windows menu access the Hyper-V manager
Configure the virtual network
- In the Actions section on the right, click on Virtual Switch Manager.
- Select external and click on Create Virtual Switch
- Give a name and click Apply. Select the network adapter of your internet connection in the external drop down.
- Select Internal and click on Create Virtual Switch
Create the Virtual Machine
- For this we will need the Windows Server 2016 Technical Preview 3 iso file. You can search and download the preview version.
- Click on New -> Virtual Machine
- Click Next on the start screen
- Enter a location where you have sufficient space. Give a name to the virtual machine. Click Next.
- Select Generation 2, click Next
- 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.
- Select the internal network switch which we created earlier, click Next
- Ensure the virtual hard disk location is correct, click Next
- If you downloaded the OS iso file, you can select it here. It will be loaded to the virtual DVD drive.
- Click Add Hardware -> Network Adapter, don’t assign to any virtual switch
- Click OK to create the virtual hard disk.
- Connect to the virtual machine and start
Install and configure the operating system
- If you loaded the iso, it will prompt to boot from CD. Press any key and follow the instructions to install the OS
- From the windows menu search for Active Directory Services
- In the server manager, click on Local Server, click on the computer name.
- Update the computer name to what you like e.g SP2016
- Click on Change and click OK
- When prompted restart the system
- In the server manager, click on Local Server, click on the link next to windows firewall and disable it
- Open the Network Connections.
- 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).
- Right click on the internal network connection and go to properties
- Uncheck Internet Protocol version 6
- Select Internet Protocol version 4 and properties
- Enter the IP address as 192.168.150.1 and click on the subnet mask. It should populate 255.255.255.0
- Update preferred DNS server as 192.168.150.1
- Right click on the external network connection and go to properties
- Uncheck Internet Protocol version 6
- Select Internet Protocol version 4 and properties
- Set the preferred DNS server as 127.0.0.1
- Set the alternate DNS Server to 4.2.2.4
- Now go to the Hyper-V settings and set the virtual switch of adapter we added to external.
- In the VM disable and re-enable the external network adapter
- On the server manager, click ‘Add roles and features’
- Select Role-based or feature-based installation
- Ensure Select a server from the server pool is selected.
- Select SP2016 from the Server Pool and click next
- Select Active Directory Domain Services
- Click Add Features, Next and Install
- In the Results view, click on the Promote this server to a domain controller link.
- Select Add a new forest Give some domain name like SP.com
- Enter a password
- Click next on the DNS Options screen
- Ensure the NETBIOS is whatever domain you had selected
- Click Next on the Paths and on the review page
- On the prerequisites screen if you get an error, cancel the window, restart the VM
- And follow the above steps and click on Install
Install and Configure the SQL server
- Search and download the SQL Server 2016 Community Technology Preview 2.3
- 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.
- Go to the Server Manager -> Dashboard -> Add roles and features -> Click on features and select .Net framework 3.5
- Run the SQL Server setup file
- On the installation center dialog – Click Installation tab on the left
- Select New SQL Server stand-alone installation or add features to an existing installation link
- On the Setup Role page, leave the default and click Next
- 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
- Add Reporting Services only if you want the BI features
- On the installation rules click Next
- On Instance configuration, leave the default and click Next
- In Server Configuration
- For the SQL Server Agent set the Startup Type to Automatic.
- For the SQL Server Database Engine Change the Account Name to NT AUTHORITY\SYSTEM.
- For the SQL Server Analysis Services Change the Account Name to NT AUTHORITY\SYSTEM.
- Click Next
- On the database engine configuration,
- Click Add current user so your name comes up in the SQL Server Administrators list
- On the FILESTREAM tab, check Enable FILESTREAM for Transact-SQL access and check the Enable FILESTREAM for file I/O access also.
- On the analysis services configuration, again click on Add current user and click Next
- On the reporting services configuration, leave default and click Next
- Click on Install
- Click Close, after the installation is completed
- Open the SQL Server configuration manager
- Click on SQL Server Network Configuration >> Protocols for MSSQLSERVER.
- Right click on Named Pipes and select Enabled
Install and configure SharePoint 2016
- Search and download the SharePoint Server 2016 Preview
- Mount the ISO and open the dvd drive to auto run. We should get a splash screen as
- Click on Install software prerequisites
- Click Next. Accept License
- Click Next and then Finish once it is completed.
- This will restart the system
- The pre-requisite installer completes but an error states that it was unable to configure the Internet Information Services (IIS) web server
- Refer to Known Issues in SharePoint Server 2016 IT Preview
- Open Windows PowerShell in an elevated mode, Run as administrator, and run the following commands:
- 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
- Restart the VM
- Run the SharePoint installer again and click Install SharePoint Server
- Click on Close once installation is completed
- In the configuraton wizard, click next
- Select Create a new server farm
- Specify the database server details
- Enter the passphrase
- Select Single Server Farm
- Specify a port number or accept default
- Confirm the settings
- You should get a configuration successful message
- 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.