Sitecore 9 Update 2 (Sitecore 9.0.2) Installation

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)

1a)
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:

  1. Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2 -InstallationPolicy Trusted
  2. Install-Module -Name SitecoreFundamentals -Repository SitecoreGallery -MaximumVersion 1.1.0
  3. 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.

1b)
Verify installation of modules by opening PowerShell as Administrator and running these commands:

Get-Module SitecoreInstallFramework –ListAvailable

And

Get-Module SitecoreFundamentals –ListAvailable

Desired output:
Sitecore902.05

2) Preparing installation files for Sitecore 9.0.2 / Sitecore 9 Update 2

2a)
Copy your license.xml file into “C:\resourcefiles” folder.

2b)
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:
Sitecore902.02

2c)
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:
Sitecore902.03

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

2d)
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:
Sitecore902.04

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).

Sitecore902.06

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 😉

Sitecore902.07

Run the script!

On my machine it took 7-8 minutes to finish all steps so take a short brake.

Voila 🙂

Sitecore902.08

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 🙂

Sitecore902.09.PNG

Sitecore902.10

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!

——————————————————
Used sources:

3 comments

  1. Thanks for the example. You can also register the powershell modules instead of downloading them manually. Run PowerShell as admin and execute:
    1. Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2 -InstallationPolicy Trusted
    2. Install-Module -Name SitecoreFundamentals -Repository SitecoreGallery -MaximumVersion 1.1.0
    3. Install-Module -Name SitecoreInstallFramework -Repository SitecoreGallery -MaximumVersion 1.2.1

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s