Website Development Company in Singapore
⟵ Resources

Sitecore XP 10.1 Update 1 – Installation – Docker Way

CMS Sitecore XP 10.1 abstract design

This blog post is a summary of my own experience for Sitecore Experience Platform 10.1 Update 1 (e.g Sitecore 10.1.1) installation on my machine with the following install guide:

Prerequisites

  • Windows 10 version 1809 or higher
  • >= 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://containers.doc.sitecore.com/docs/environment-setup
  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.11
  3. to avoid any conflicts, we should ensure the following ports are not being used by another process: 443, 8079, 8984, and 14330 (Page 6 in Installation Guide for Developer Workstation with Containers)
    • Network Requirements for SC10.11
    • stop IIS
      • Stopping IIS server for SC10.11
    • stop windows services if any
    • quit Skype for sure
  4. create a new folder D:sc1011_install
  5. download and unzip Container Deployment Package
  6. correct the Sitecore version 1.1-ltsc2019 in D:sc1011_installSitecoreContainerDeployment.10.1.0.005207.309composeltsc2019xp0.evn
    • Show SITECORE_VERSION for SC10.11
  7. create all certificates and initialize the environment file of Windows Server Core version ltsc2019 and XP Single topology (xp0)
    • download ps1 and then put it into D:sc1011_installSitecoreContainerDeployment.10.1.0.005207.309composeltsc2019xp0
    • edit “HostName” parameter and be able to change other default values as well
    • Show hostname, admin and SQL password for SC10.11
    • ensure that this file C:licenselicense.xmlis available, otherwise will see this error message later License file is not found. or “License not found at ‘C:licenselicense.xml’”
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1011_installSitecoreContainerDeployment.10.1.0.005207.309composeltsc2019xp0
    • execute .init.ps1 -LicenseXmlPath C:licenselicense.xml
    • Importing, populating, generating certificate for SC10.11
  8. pull Sitecore docker images
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1011_installSitecoreContainerDeployment.10.1.0.005207.309composeltsc2019xp0
    • execute docker-compose pull
    • Pulling and downloading SC10.11 components
    • Pulling SC10.11 components
  9. spin up the container-based Sitecore instances
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc1011_installSitecoreContainerDeployment.10.1.0.005207.309composeltsc2019xp0
    • execute docker-compose up --d
    • Creating SC10.11 components
  10. open a browser, navigate to https://cm.sc1011.localhost/, we would see the default Sitecore page and a valid SSL certificate
    • Show connection is secured for SC10.11
  11. open a browser, navigate to https://cm.sc1011.localhost/sitecore, we should be able to login with the admin user and b password by default
    • Sitecore.NET 10.1.1 version
  12. 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.11

 

Notes

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

Happy Sitecore 10.1 Update 1 Installation!

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.