Website Development Company in Singapore
⟵ Resources

Sitecore XP 9.2 Initial Release – Playing around with custom install directory

Sitecore XP 9.2 abstract banner

This one is a summary of my own experience with Sitecore Experience Platform 9.2 Initial Release (aka Sitecore XP 9.2.0) installation on my machine. I’ve had many experiences in Sitecore XP 9.0 and Sitecore XP 9.1 installations so I decided to go only with the following ones:

I do hope that this blog post is helpful for your journey as well.

Note: I wanted to use my install directory rather than the default one

Setup Prerequisites

Step-by-step guide

  1. create a new folder D:sc920_install
  2. install SOLR 7.5.0if not yet

Show installFolder and solrPort for SC9.2

  • open Windows PowerShell (run as administrator)
  • execute .install-solr
  1. (optional) install Sitecore Install Framework(SIF) if not yet
    • refer to 3.1.1. Install the SIF Module using MyGet (Page 11)in the Quick Installation Guide for a Developer Workstation
    • open Windows PowerShell (run as administrator)
    • if you have never installed Sitecore 9 before, you will probably want to execute Set-ExecutionPolicy -Scope CurrentUser Unrestricted

Showing Set-ExecutionPolicy command

  1. (optional)if you already installed previous SIF versions, you would have upgraded it to a new version 2.1.0
    • open Windows PowerShell (run as administrator)
    • you should use the following command to get all the current SIF versions
      1. Get-Module -Name SitecoreInstallFramework -ListAvailable
    • option 1: use the following command to updateto the latest version of SIF
      1. Update-Module SitecoreInstallFramework -force
    • option 2: use the following commands to remove the currents and then install the latest version of SIF
      1. Uninstall-Module SitecoreInstallFramework -AllVersions
      2. Install-Module SitecoreInstallFramework
  1. enable Contained Database Authentication if not yet

Enable Contained Database Authentication for SC 9.2

6. download and unzip Package for XP Single

(Note: must log into https://dev.sitecore.net/ before downloading)

    • copy / paste the following ones to D:sc920_install
      1. Sitecore 9.2.0 rev. 002893 (OnPrem)_single.scwdp.zip
      2. Sitecore 9.2.0 rev. 002893 (OnPrem)_xp0xconnect.scwdp.zip
      3. Sitecore.IdentityServer 3.0.0 rev. 00211 (OnPrem)_identityserver.scwdp.zip
    • unzip XP0 Configuration files 9.2.0 rev. 002893.zip and copy / paste all files to D:sc920_install

List of JSON files and ps1 file for SC9.2

7. override Sitecore-XP0.jsonxconnect-xp0.json + IdentityServer.json + XP0-SingleDeveloper.json to inject the custom install directory so we will have something like the following ones later

Show Physical Path for SC9.2.0

Show Physical Path for SC 9.2 in General

Show Physical Path for SC9.2

  • open raw and then copy/paste Sitecoreinto D:sc920_installsitecore-XP0.json
  • open raw and then copy/paste xconnect-xp0.jsoninto D:sc920_installxconnect-xp0.json
  • open raw and then copy/paste jsoninto D:sc920_installIdentityServer.json
  • open raw and then copy/paste XP0-SingleDeveloper.jsoninto D:sc920_installXP0-SingleDeveloper.json

Highlight XP0-SingleDeveloper.json

  • (optional) download + unzip  zipand then copy / paste all to D:sc920_install
  1. copy/paste your Sitecore license file license.xmlto D:sc920_install
  2.  (optional)if you have never installed Sitecore 9 before, you will probably want to install the prerequisites
  • open Windows PowerShell (run as administrator)
  • execute Install-SitecoreConfiguration -Path .prerequisites.json
  1. download sc920_install.ps1and copy / paste it to D:sc920_install then open it to correct the following parameters:
  • (optional) $Prefix
  • $SqlServer
  • $SqlAdminUser
  • $SqlAdminPassword
  • (optional)$SitecoreAdminPassword
    • Note: leave the example value “SIF-Default” unchanged, a random password is generated for you
  1. open Windows PowerShell (run as administrator)

a. (optional)if you have various SIF versions on your machine, you will probably have to run the 1.0 version of SIF by executing Import-Module SitecoreInstallFramework -Force -RequiredVersion 2.1.0

Showing Import-Module command

b. change directory to D:sc920_install

c. execute .sc920_install

Command running sc920_install

12. hopefully there is nothing that can stop the installation process and then note Sitecore Admin Password

Highlight Sitecore Admin Password

13. open a browser:

a. navigate to http://sc920.local/to see the Sitecore default page

b. navigate to http://sc920.local/sitecoreand then be redirected to https://sc920.identityserver.local/ (log into it by using account admin / Sitecore Admin Password)

Highlight Sitecore.NET 9.2.0

How to uninstall it?

  • open D:sc920_installps1and uncomment line 79 + comment out the line 76 then save it
  • Highlight Install-SitrecoreConfiguration
  • open Windows PowerShell (run as administrator)
  • change directory to D:sc920_install
  • execute .sc920_install

Showing host entry removing 127.0.0.1

  • hopefully, it runs well and cleans everything up

This article originally appeared on Walking on clouds (https://buoctrenmay.com/).

Playing around with Sitecore 10 docker containers and my simple development framework version 3.0

How to restart Sitecore server via Sitecore user interface

Playing around with Sitecore 10.0.1 docker containers and my simple development framework version 3.1

Portfolios

Resources

Contact Us

Website Development Company in Singapore white logo
LowCarbonSG Logo
Terms & Conditions | Privacy Policy | Accessibility Statement

Apply Now!

Upload Resume (with a 2mb maximum file size)
Accepted file types: doc, docx, pdf, xps, Max. file size: 2 MB.
This field is for validation purposes and should be left unchanged.