Install Sitecore 10 in 10 using SIF

Sitecore 10.0 Released: A Great Day for Sitecore Developers

Sitecore 10 is here and I believe this is the first time ever I proactively installed the latest greatest Sitecore version within 10 days of its release. Sitecore 10 within 10. Isn’t it quite a catchy phrase!

Allright, here how to install in 10 easy steps!

For sometime now, we have both the options SIF and SIA. We also have the container deployment package. Today, I’ll go the SIF way simply because I love Powershell 🙂

Step 1 – Login to the download site with your credentials and download the following.

The Installation Guide –

Quick Installation Guide

Packages for XP Single –

Step 2 – READ THE DOCUMENT! Why? Because I did not and after progressing quite far, got this nasty error.

http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SQL_EXECUTION_FAILURE.
Error: ALTER DATABASE statement failed.

Okay, At least read the highlighted sections.

I had 9.3 Installed on the same machine and the ONLY additional requirement was SQL Server 2017. I had missed that and hence the above error. Actually when I scrolled up, I did see a warning.

Nevermind, let us proceed with the good stuff.

Step 3 – Install Sitecore Installation Framework (SIF) – Sitecore Experience Platform 10 requires SIF 2.3.

The Sitecore Gallery is a public MyGet feed where you can download and install PowerShell modules
created by Sitecore, including SIF.
To set up SIF:

  1. In Windows, open PowerShell as an administrator.
  2. To register the repository, in a PowerShell command line, run the following cmdlet:
Register-PSRepository -Name SitecoreGallery
-SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2

When prompted to install, press Y, and then press Enter.

  1. To install the PowerShell module, run the following cmdlet:
Install-Module SitecoreInstallFramework

When prompted to install, press Y, and then press Enter.

  1. After you install SIF, you can validate the installation to conČ´rm that it is available for use.
Get-Module SitecoreInstallFramework –ListAvailable 

The versions of SIF that are compatible with Sitecore Experience Platform:

Sitecore Experience Platform VersionSIF Version
9.0.x 1.2.1
9.1.02.0.0
9.1.12.1.0 or later
9.2.02.1.0 or later
9.3.02.2.0
10.0.02.3

To install a specific version of SIF, Run the following cmdlet:

Install-Module -Name SitecoreInstallFramework -RequiredVersion x.x.x

Enter the appropriate value in the RequiredVersion parameter.

To run a specific version of SIF, Run the following cmdlet:

Import-Module -Name SitecoreInstallFramework -Force -RequiredVersion x.x.x

You use the specific version for the remainder of the session. The next time you start a PowerShell session it automatically uses the latest available version.

Step 4 – Install Solr as a service

The required version is 8.4. Follow the steps in the Blog to get this done.

https://norconex.com/how-to-run-solr5-as-a-service-on-windows/

Step 5 – Install Single Developer Topology (XP0) using SIF

Follow the Chapter 5 of the Quick Installation Guide mentioned in Step 1.

Consider the step 2 of section 5.4 where we need to make necessary changes in the Powershell script. My settings are shown here.

You will have to update the following values

VariableValueExample
$PrefixThe Prefix that will be used on SOLR, Website and Database instances.“scTen”
$SitecoreAdminPasswordThe Password for the Sitecore Admin User. This will be regenerated if left on the default.“ten1!”
$SolrUrlThe URL of the Solr Server. Ensure the correct URL especially if you have multiple instances of the Solr service.https://localhost:8984/solr”
$SolrRootThe Folder that Solr has been installed to“C:\Solr\solr-8.4.0solr-8.4.0”
$SolrServiceThe Name of the Solr Service.“solr-8.4.0solr-8.4.0”
$SqlServerThe DNS name or IP of the SQL Instance for SQL 2017. Ensure the correct instance. You may have SQL 2016 on the same machine.“RPATWARI-PK\MSSQL2017”
$SqlAdminUserA SQL user with sysadmin privileges“sa”
$SqlAdminPasswordThe password for $SQLAdminUser“Password1”

Step 6 – Success!

If all goes as expected, this is how it looks.

Step 7 – Browse to the Site.

Step 8 – Our Favorite End 🙂

Step 9 – If you need to Uninstall, simply toggle the command in the XP0-SingleDeveloper.ps1 script file as shown here.

Step 10 – Enjoy the experience!

Quotes about Enjoying the experience (40 quotes)

One thought on “Install Sitecore 10 in 10 using SIF”

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