Website Development Company in Singapore
⟵ Resources

Sitecore XP 10.3 Initial Release – Installation – Docker Way

Developer at computer and smartphone abstract design

This blog post is a summary of my own experience for Sitecore Experience Platform 10.3 Initial Release (e.g Sitecore 10.3.0) installation on my machine with the following install guide:

Prerequisites

  • Windows 10 1903 or later
    • If you need to enable process isolation, you must have Windows 10 1909 or later.
  • Windows Server 1903 or later
  • >= 16 Gb of memory
  • Sitecore 10 license file
  • the latest Docker Desktop

Step-by-step Guide

  1. ensure to set up your docker environment by following https://doc.sitecore.com/xp/en/developers/103/developer-tools/set-up-the-environment.html
  2. try to bypass some common network issues by setting DNS servers in the Docker engine configuration:
    • open Docker Desktop and then select Settings => Docker Engine
    • ensure the value of the “dns” key is set to [“8.8.8.8”] if any
    • click Apply & Restart button
    • DNS set to 8.8.8.8 for SC10.30
  3. to avoid any conflicts, we should ensure the following ports are not being used by another process: 443, 8079, 8984, and14330 (Page 6 in Installation Guide for Developer Workstation with Containers)
    • Networking requirements for SC10.30
    • stop IIS
      • Stopping IIS server for SC10.30
    • stop windows servicesif any
    • quit Skypefor sure
  4. create a new folder D:sc1030_install
  5. download and unzip Container Deployment Package
  6. run script to prepare for deployment and initialize the environment file of  Windows Server Core version ltsc2019 and XP Single topology (xp0)
    • adjust D:sc1030_installSitecoreContainerDeployment.10.3.0.008463.1135composeltsc2019xp0compose-init.ps1 if necessary
    • List of values in config file
    • assume that this file C:licenselicense.xmlis available
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1030_installSitecoreContainerDeployment.10.3.0.008463.1135composeltsc2019xp0
    • execute .compose-init.ps1 -LicenseXmlPath C:licenselicense.xml
    • Populating, adding hosts file for SC10.30
  7. let’s pull all the required images from the Sitecore Container Registry, create the required Docker network configuration, and deploy all the containers to the local environment.
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1030_installSitecoreContainerDeployment.10.3.0.008463.1135composeltsc2019xp0
    • execute docker-compose up --detach
    • Creating components for SC10.30
  8. open a browser, navigate to https://xp0cm.localhost/, we would see the default Sitecore pageand a valid SSL certificate
    • xp0cm.localhost is secured
  9. open a browser, navigate to https://xp0cm.localhost/sitecore, we should be able to login with the adminuser and b password by default
    • Sitecore.NET version is 10.3.0
  10. DON’T FORGET to perform the following thing as well (Page 12 in Installation Guide for Developer Workstation with Containers)
    • Rebuild search indexes for SC10.30

 

Notes

  1. for stopping the Sitecore instances without losing the changes
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1030_installSitecoreContainerDeployment.10.3.0.008463.1135composeltsc2019xp0
    • execute  docker-compose stop
    • Stopping components for SC10.30
    • start the Sitecore instances again by executing  docker-compose start
    • Starting components for SC10.30
  2. for data cleanup
    • download ps1and then put it into D:sc1030_installSitecoreContainerDeployment.10.3.0.008463.1135composeltsc2019xp0
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1030_installSitecoreContainerDeployment.10.3.0.008463.1135composeltsc2019xp0
    • execute  docker-compose down
    • execute  .clean
    • Stopping and removing SC10.03

Happy Sitecore 10.3 Initial Release Installation!

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

5 Incredible Headline Analyzer Tools You Should Try Now

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

How to restart Sitecore server via Sitecore user interface

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.