sitecore-xp-9-1-installation-guide-local-machine

I am sharing my own experience of Sitecore 9.1 installation on my local machine.

Steps to install Sitecore 9.1

  1. Requirements and prerequisites : Follow the Sitecore quick installation guideline
  2. Create a folder c:\sitecore91
  3. Install Solr 7.2.1
    • Download install-solr.ps1 and helper.psm1 into C:\sitecore91 ( special thanks to Viet Hoang)
    • Edit the install-solr.ps1
      • change the installFolder path for e.g “C:\solr”
      • change the solrPort for e.g. “8984”
        • Open the Windows PowerShell in administrator mode
        • Go the directory c:\sitecore91
        • To avoid PowerShell erros run
          • Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
          •  execute .\install-solr.ps1
  4. Install the SIF Module using MyGet
    • launch PowerShell in administrator mode.
    • Register the repository using PowerShell command
      • Register-PSRepository -Name SitecoreGallery -SourceLocation   https://sitecore.myget.org/F/sc-powershell/api/v2
      • Update-Module SitecoreInstallFramework . In case of error for e.g. PackageManagement\Register-PackageSource : Module Repository ‘SitecoreGallery’ exists
      • else Install-Module SitecoreInstallFramework
      • Check the installation
        • Get-Module SitecoreInstallFramework –ListAvailable
        • look for 2.0.0 in the available list
  5. Enable Contained Database Authentication
    • EXEC sp_configure ‘contained’, 1;
      go
      RECONFIGURE;
      Go
  6. Install the prerequisites
    • Download Sitecore 9.1.0 rev. 001564 (WDP XP0 packages).zip package from Sitecore
    • Upzip the above download zip file and paste in c:\sitecore91
    • Look for XP0 Configuration files 9.1.0 rev. 001564.zip and unzip it and paste the files into the c:\sitecore91 folder
      • C:\sitecore91 folder contains
        • 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
        • createcert.json
        • IdentityServer.json
        • Copy paste your valid “license.xml” file
        • Prerequisites.json
        • sitecore-solr.json
        • sitecore-XP0.json
        • xconnect-solr.json
        • xconnect-xp0.json
        • XP0-SingleDeveloper.json
        • XP0-SingleDeveloper.ps1
    • Launch the PowerShell in administrator mode and change directory  to “c:\sitecore91”
    • execute Install-SitecoreConfiguration -Path .\Prerequisites.json
    • It took approx 20 min
  7. Create, Edit, and Run the Installation Script for the XP Single Topology
    • Edit XP0-SingleDeveloper.ps1 file
    • change the SitecoreAdminPassword from “SIF-Default” to as per your choice
    • SCInstallRoot : “c:\sitecore91”
    • SolrUrl : https://localhost:8984/solr
    • SolrRoot : “C:\Solr\Solr-7.2.1”
    • SqlServer : “your instance name”
    • SqlAdminUser : “sa”
    • SqlAdminPassword : “your sql password”
    • execute .\XP0-SingleDeveloper.ps1
    • Open the browser and check for newly installed Sitecore9.1 instance

Leave a Reply

Your email address will not be published. Required fields are marked *