sitecore9-logo

As the installation process for Sitecore version 9.0 and above is quite different from previous versions, making notes for myself, and also it might help other Sitecore developers.

Version : Sitecore Experience Platform 9.0 rev. 171219 (9.0 Update-1)
Topology: XP Single (XP0)

Let’s split the Sitecore 9 installation into three parts,

  1. Look at Prerequisites
  2. Install Solr with Https
  3. Install Sitecore 9 with Sitecore Installation Framework (SIF)

I advise you to go through Sitecore Installation Guide (54 pages), which is very detailed and good.

Let’s have a look at what all the requirements for Sitecore 9 Installation,

Requirements

  • Operating System: Windows 8.1 or 10(32/64-bit)
  • Web Server: IIS 8.5 or 10.0
  • .NET Framework 4.6.2 or later.
  • Microsoft SQL Server 2016 SP1
  • Solr 6.6.2
  • Visual Studio 2015 or later
  • Microsoft Visual C++ 2015 Redistributable (for Sitecore 9 Update-1)

Other than the above requirements, there are quite a few prerequisites for Sitecore Installation Framework,

Note: The Sitecore Installation Framework does not validate the prerequisite software that you install; therefore ensure you install the correct versions. (From the Installation Document)

SIF Requirements

Microsoft PowerShell 5.1 or later
On Windows 7 or higher versions, PowerShell comes installed by default. You can check PowerShell version using PowerShell console.

To open PowerShell console, press Windows + R, and type powershell.

launch-powershell

Using the following command, we can know the version.
$PSVersionTable

powershell-version

If your Powershell version is any lower, please upgrade it by following this link

Web Platform Installer (Web PI) 5.0
The Web Platform Installer provides an easy way to quickly install and customize all the software you need to develop or deploy web sites and applications on a Windows machine.

Download the installer from here, run the .msi file, and follow the steps.

webpi

After the installing , you can open Web Pi, in the Windows Start menu, type Microsoft Web Platform Installer, and click on it. (in Windows 10).

webpi-open

webpi-start-screen

WebAdministration Module

When you configure IIS, the WebAdministration module is automatically installed. To check, fire up Powershell in admin mode, and try the following command. It lists all the cmdlets from webadministration module.

Get-Command -module WebAdministration

webadministration-cmdlet

Web Deploy 3.6 for Hosting Servers
This supports installation of Web Deploy Packages and we can install Web Deploy using Web Platform Installer. Open Web PI and search for Web Deploy 3.6 for Hosting Servers, click on add, and install.

webdeploy

webdeploy-install-1

webdeploy-install-2

URL Rewrite 2.1
Open Web PI, and search for URL Rewrite 2.1, click on add, and install.

url-rewrite-install-1

Microsoft SQL Server Data-Tier Application Framework (DacFx) version 2016
This supports installation of .dac files in Web Deploy Packages. You can download and install from here.

DAC-install

DAC-install-2

Run the downloaded .msi file, and install the component.

DAC-install-3

To ensure that DacFx works correctly, you must install its system requirements including SQLSysCLRTypes.msi. If you are running an x64 environment, must install both the x64 and x86 versions of DacFx and SQLSysCLRTypes. (from the Installation doc)

Enable Contained Database Authentication
To allow the creation of users from SIF, we need to configure the SQL Server. Login to MS SQL Server Management Studio as an administrator, and run the following query. More information can be found here

sp_configure 'contained database authentication', 1;
GO
RECONFIGURE;
GO

Next… Setting up Solr with Https.

Happy Learning 🙂