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,
- Look at Prerequisites
- Install Solr with Https
- 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,
- 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)
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.
Using the following command, we can know the 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.
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).
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
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.
URL Rewrite 2.1
Open Web PI, and search for URL Rewrite 2.1, click on add, and install.
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.
Run the downloaded .msi file, and install the component.
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;
Next… Setting up Solr with Https.
Happy Learning 🙂