Sitecore yesterday released Sitecore 9.0.2 (Sitecore 9 Update 2). In this post I will describe how to install this latest version of Sitecore.
If you haven’t so far created VM or configured your machine, follow this post that I have created couple of months ago. It will help you install and configure all prerequisites in terms of Windows Server and server itself.
If you haven’t so far configured Solr (together with SSL enabled) on your machine / VM, this post will definitely help you out. I have created those guidelines for Sitecore 9.0.1 but they are still valid also for this update / version so you are free to follow / use them.
In this post, I will show you how to:
– Install Sitecore Install Framework (SIF) and Sitecore Fundamentals PS modules
– Install Sitecore 9.0.2
Let’s get started!
1) Install Sitecore Fundaments and Sitecore Install Framework (SIF)
Sitecore 9.0.2 or Sitecore 9 Update 2 version supports new version of SIF – Sitecore Installation Framework 1.2. This version needs Powershell 5.1.
Open PowerShell as Administrator and run these three commands one by one:
Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2 -InstallationPolicy Trusted
Install-Module -Name SitecoreFundamentals -Repository SitecoreGallery -MaximumVersion 1.1.0
Install-Module -Name SitecoreInstallFramework -Repository SitecoreGallery -MaximumVersion 1.2.1
After first one just hit “Enter” key when asked to approve interaction with NuGet-based repositories.
Verify installation of modules by opening PowerShell as Administrator and running these commands:
Get-Module SitecoreInstallFramework –ListAvailable
Get-Module SitecoreFundamentals –ListAvailable
2) Preparing installation files for Sitecore 9.0.2 / Sitecore 9 Update 2
Copy your license.xml file into “C:\resourcefiles” folder.
Download installation package with name “Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip” as we are installing Sitecore to single instance.
You can download it:
– directly from this link
– from Sitecore 9.0.2 download page by going to this page, navigating to “Download options for On Premises deployment” section and downloading “Packages for XP Single” file:
Extract downloaded file “Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip” to the “C:\resourcefiles” folder.
Extract to the very same folder freshly extracted “XP0 Configuration files 9.0.2 rev. 180604.zip” file:
Remove below files from this folder as they are no longer needed:
– Sitecore 9.0.2 rev. 180604 (WDP XP0 packages).zip
– XP0 Configuration files 9.0.2 rev. 180604.zip
Download powershell scripts from my github repository and place them in “c:\resourcefiles”.
You should end up with similar file listing in “c:\resourcefiles” folder as below:
3) Installing Sitecore 9.0.2 / Sitecore 9 Update 2
Open “c:\resourcefiles\01 Install.ps1” through Powershell ISE.
You can leave all parameters as they are.
If you wish, you can specify prefix (Sitecore instance name) and maybe sql admin username and password (to suit your configuration). Everything else should be the same (If you have followed my setup of prerequisites and SOLR from the beginning of this blog post).
Mind the * in the file names in my script below. This will help you in the future if update 3 and so on are released. This script will still work 😉
Run the script!
On my machine it took 7-8 minutes to finish all steps so take a short brake.
Open sitecore in your browser. For me, I have navigated to “http://sc9u2.sc/sitecore”, typed obligatory admin / b and I was in.
Instantly I saw a new feature in Update 2 – Update Center 🙂
Looks pretty nice. More information about this new feature can be found in Sitecore online documentation.
Don’t forget to continue with Post-Installation steps which you can find in Chapter 6 (from page 39) of Installation Guide!
Successful installations to all!