Saturday, 26 December 2020

Sitecore 10 update 1 installation using SIF

In previous article, we did setup Sitecore 10 update 1 instance using docker

Now in this article will explain alternate way to setup Sitecore 10.0.1 instance using SIF



Pre-requisites

Click here Packages for XP Single download and unzip (at Let's say D:\Sitecore101SIF)

Paste license.xml file at D:\Sitecore101SIF


Installation

Open PowerShell as admin and execute below commands in sequence

cd D:\Sitecore101SIF
Install-Module SitecoreInstallFramework  [ensure version is  2.3.0]
Install-SitecoreConfiguration -Path .\Prerequisites.json

below solr command is optional if solr 8.4.0 already working as https
Install-SitecoreConfiguration -Path Solr-SingleDeveloper.json

Update parameter values in XP0-SingleDeveloper.ps1
.\XP0-SingleDeveloper.ps1

That's it.


Demo Time






Friday, 25 December 2020

Sitecore 10 update 1 Installation using docker

Recently Sitecore has released latest version 10.0.1 with new updates and improvements.

In this article, going to setup an Sitecore instance using docker.

sitecore-10-update-1


Let's start with Pre-requisites


Pre-requisites

Docker must be installed, running and Switched to Windows Container mode

docker-desktop-windows




Download Container Deployment Package from below link and unzip (at Lets say D:\SitecoreDocker101)

https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/100/Sitecore_Experience_Platform_100_Update1.aspx

sitecore-docker-container


download init.ps1 and paste at D:\SitecoreDocker101\ltsc2019\xp0

run cmd (admin) and trigger iisreset /stop
if any port from docker-compose.yml are is use (
can check by netstat -aon | findstr <portNo> from PowerShell)
then stop that service to avoid any interrupt during installation.


Installation Steps


Open PowerShell as admin and run below commands in sequence

  cd D:\SitecoreDocker101\ltsc2019\xp0

  .\init.ps1  (will ask for instance name, sql password, sitecore admin password and license path)

  docker-compose up -d


Demo

Open docker desktop dashboard view, will see Sitecore-xp0 up and running.

from PowerShell, run below commands

  docker ps (To get container ids for images)

  docker exec -it <container id> ipconfig  (replace with container id of cm server)

copy IP address, and run on chrome

sitecore-10-update-1

Common Issues:

http://succorpoints.blogspot.com/2020/12/error-failed-to-register-layer-rename.html

http://succorpoints.blogspot.com/2020/12/not-able-to-find-network-sitecore.html

http://succorpoints.blogspot.com/2020/12/cannot-start-service-cm-container-is.html

http://succorpoints.blogspot.com/2020/12/container-is-unhealthy-docker.html