Sitecore XP 9.1 Step By Step Installation 

Setup Prerequisites:

üWindows 10
üSitecore License must have xDB enabled
üMS SQL Server 2016 SP2 or later
ü.Net Framework 4.7.2 or later
üNSSM
Note: must log into https://dev.sitecore.net/ before downloading

Step by Step Process:


Install Solr Service V-7.2.1

What is the Solr Service?

Apache Solr is an open source search platform built upon a Java library called Lucene. Solr is a popular search platform for Web sites because it can index and search multiple sites and return recommendations for related content based on the search query's taxonomy.

What is SOLR in Sitecore?

Sitecore supports both Lucene and Solr search engines. The search engines are used for searching in the content databases, as well as for searching in a number of operational databases that Sitecore uses for collecting analytics data, test data, and so forth.


Step by Step by Install Solr 7.2.1 :

1. Create one New folder C:\solr7
2. Install SOLR 7.2.1
        Copy/Paste  install-solr.ps1 and helper.psm1  into C:\solr7
        Open the install-solr.ps1 file in your notepad.
        The file looks like below image.



        

   Note: Make sure your folder path and Install Folder path both are same. Otherwise, change the path.
  Note: If you have any Solr service in your system check the version as well as PORT number.

Step by Step Guide Install Sitecore 9.1

Step 1: Install Sitecore Installation Framework (SIF)


If your machine already have SitecoreInstallFramework 1.2.1 but for Sitecore 9.1 we have to install SitecoreInstallFramework 2.0.0 as

Installation Command for SIF:

Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.0.0

You can get a list of all available SitecoreInstallFramework module as
List of Framework Available Command:
Get-Module SitecoreInstallFramework –ListAvailable




Step 2 : Download Sitecore 9.1 Package

Download and unzip package for XP Single (Note : Must log into https://dev.sitecore.net/ before downloading)

Download:





Step 3 :
 Copy paste the following ones to D:\SiteCore\SiteCore_Instance\InstallFiles:

Ø Sitecore 9.1.0 rev. 001564 (OnPrem)_single.scwdp.zip
Ø Sitecore 9.1.0 rev. 001564 (OnPrem)_xp0xconnect.scwdp.Zip
Ø Sitecore.IdentityServer 2.0.0 rev. 00157 (OnPrem)_identityserver.scwdp.Zip
Ø XP0 Configuration files 9.1.0 rev. 001564.zip and copy/Paste all files from XP0 Configuration files 9.1.0 rev. 001564 to D:\SiteCore\SiteCore_Instance\InstallFiles 





Step 4 : Override the Files

Override the sitecore-XP0.json + xconnect-xp0.json + IdentityServer.json + XP0-SingleDeveloper.json in order to inject the custom install directory

Open raw and then copy/paste above all files. Link is here

Sitecore-XP0.json

xconnect-xp0.json

IdentityServer.json

XP0-SingleDeveloper.json 

Sample Image




Step 5 : License file license.xml

Copy/paste Sitecore license file into Installfiles directory.

Step 6 : (Optional) if you have never installed sitecore 9 before , you will probably want to install the prerequisites.

   Open the Windows Powershell in the Administrator mode.
   Execute Install-SitecoreConfiguration-Path .\prereuisites.json


Step 7: Download sc91_Install.ps1 and copy /paste it to Install files directory

  Change the parameter in the sc91_Install.ps1 file
Ø (optional) $InstallDirectory
Ø (optional) $prefix
Ø $SqlServer
Ø $SqlAdminUser
Ø $SqlAdminPassword
Ø $(optional)SitecoreAdminPassword
Ø Note: leave the example value SIF-Defaultunchanged, a random password is generated for you

Ø Open Powershell in Run as Administrator.
Ø (optional) if you have never installed Sitecore 9 before, you will probably want to execute Set-ExecutionPolicy -Scope CurrentUser Unrestricted
Ø change directory to resource folder.
Ø execute .\sc91_install.ps1
Ø hopefully there is nothing can stop the installation process and then note Sitecore Admin Password.





Step 8: Open a browser :

ØNavigate to http://sc910.local/
ØNavigate to http://sc910.local/sitecore and then be redirected to https://sc910.identityserver.local/ (log inti it by using account admin/sitecore admin password).




Keep following my blog!!!