SITECORE 10 INSTALLATION : Sitecore XP 10 using Sitecore Installation Framework (SIF)




Deployment Topology for installing Sitecore using SIF we are going to see here is XP Single Developer(XP0).

Another way to install is using Sitecore Installation Assistant (SIA). See this post to deploy using SIA

Use the Sitecore Installation Guide for hardware, OS, database, and other software requirements

Installation guide for a Developer workstation

Download/Install following-

  • Windows Server 2019/2016 or Windows 10(64-bit)
  • Install Microsoft PowerShell 7.0.3 if not already installed
    1. PowerShell is installed with OS. Check version using this command
      • Get-Host | Select-Object Version
    2. Optionally install version 7.0.3 if version 5.1 or later is already installed
  • Install .Net Framework 4.8.0


  • Install .NET Core 2.1.18 Windows Hosting Module


  • Install Microsoft Visual C++ 2015


  • Microsoft SQL Server 2019/2017


  • SQL Server Management Studio (SSMS)



  • [Optional] Microsoft SQL Server drivers and utilities
    1. Install Microsoft ODBC Driver 13 for SQL Server
    2. Install Microsoft Command Line Utilities 13 for SQL Server
  • Download XP Single Developer (XP0)
  • Machine restart might be required whilst installation of above software’s

    Step-by-step prepare and organize pre-requisite and installation files

    • Enable Contained Database Authentication

    After installing SQL Server launch SQL Server Management Studio and run the following-

    EXEC sp_configure 'contained', 1;
    RECONFIGURE;
    • Prepare the installation folder
    1. Extract downloaded XP Single Developer package to a folder e.g.:- sitecorexp10
    2. Extract XP0 Configuration files 10.0.0 rev. 004346.zip in the same folder


  • Install SIF Module
    1. Open PowerShell as an administrator.
    2. Set unrestricted execution to the current user
    Set-ExecutionPolicy -Scope CurrentUser Unrestricted
    

    3. Register repository

    Register-PSRepository -Name SitecoreGallery https://sitecore.myget.org/F/sc-powershell/api/v2

    4. Install SIF

    Install-Module SitecoreInstallFramework
    

    5. After SIF installation check if the SIF 2.3.0 is installed

    Get-Module SitecoreInstallFramework –ListAvailable
    



4. 
To install a specific version of SIF or run multiple versions of SIF see this blog

6. Execute – Install-SitecoreConfiguration -Path Solr-SingleDeveloper.json

  • Install prerequisites before installing XP 10

Switch to the sitecorexp10 folder and execute the following script

Install-SitecoreConfiguration -Path .\Prerequisites.json
  • Install SOLR 8.4.0

1. Switch to the sitecorexp10 folder. Open Solr-SingleDeveloper.json file

2. Change the Install Root for SOLR – DefaultValue

 "SolrInstallRoot": {
            "Type": "String",
            "Description": "The file path to install Solr. This config will add the prefix and solr version e.g C:\\Solr becomes C:\\Solr\\[SolrServicePrefix]Solr-8.4.0",
            "DefaultValue": "C:\\SOLR"
        },

3. Execute – Install-SitecoreConfiguration -Path Solr-SingleDeveloper.json

4. Check https://localhost:8983/solr/#/ if SOLR installed on SSL



Prepare and Execute script for installation

Open XP0-SingleDeveloper.ps1 file to update following-

  • $Prefix
  • $SitecoreAdminPassword
  • $SCInstallRoot – change path to the folder installers are available
  • $SolrUrl
  • $SolrRoot
  • $SolrService
  • $SqlServer
  • $SqlServer
  • $SqlAdminPassword

Copy license to the sitecorexp10 folder

Execute installation script – .\XP0-SingleDevelor.ps1





Hope the installation completes without any issues


Post Installation activities

Rebuild the search indexes and the Link database
After you install the Sitecore Experience Platform, you must rebuild the search indexes and rebuild the Link databases.


To rebuild all the indexes:

  1. On the Sitecore Launchpad, click Control Panel, and in the Indexing section, click Indexing manager.
  2. In the Indexing Manager dialog box, click Select All, and then click Rebuild.

    To rebuild the Link databases for the Master and Core databases:

    1. On the Sitecore Launchpad, click Control Panel, and in the Database section, click Rebuild Link Databases.
    2. Select the Master and Core databases and then click Rebuild


    3. That's it !!

Comments