Friday, May 17, 2019

Step by Step Sitecore 9.1 Commerce Installation

Hi,

I'm going to discuss about the steps for installing sitecore 9.1 commerce in a simple way.



Prerequisites:

  1. Windows 10
  2. Sitecore XP 9.1
  3. Sitecore Experience Accearator 1.8.1
  4. Sitecore Powershell Extensions 4.7.2 or 5.0
  5. Installation Packages


Here we go,



Step 1:  I assume that you have already installed the Sitecore XP software (9.1) on your
system, as described in the Sitecore Experience Platform Installation Guide (let's say sitecore91.sc).

Step 2: (Preparing the instance for commerce installation)

2a . Rebuild the Link databases :
  • Navigate to Sitecore Launchpad, click Control Panel, and in the Database section, click Rebuild Link Databases
  • Select the master and core databases and then click Rebuild.





2b. Rebuild the Indexes :
  • On the Sitecore Launchpad, click Control Panel, and in the Indexing section, click indexing manager.
  • In the Indexing Manager dialog box, click Select all, and then click Rebuild





Step 3: Preparing the Installation folder


a. Create a folder "D:\SC91_Com"

b. Copy the Microsoft.Web.XmlTransform.dll from the path "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet "
or Download from NuGet. But if you downloaded from NuGet, you need to follow the below steps
  1. You need to unblock that file as Windows thinks it is suspicious (as you have downloaded it from internet in "zip" file). 
  2. Right click on the file and on General tab check "Unblock" on the bottom of the screen. Click on "OK" or "Apply" afterwards.
for more info 
But Copy from path is preferable.

c. Download Sitecore Experience Accelerator 1.8.1 for Sitecore 9.1.1 and put it into D:\SC91_Com folder.

d. Download Sitecore Powershell Extensions 4.7.2 then put it into D:\SC91_Com folder.

e. Download and unzip Packages for On Premise 2019.04-3.0.163  then put it into D:\SC91_Com folder. 

f. For better practice, unzip D:\SC91_Com\SIF.Sitecore.Commerce.2.0.19 and then rename D:\SC91_Com\SIF.Sitecore.Commerce.2.0.19 to D:\SC91_Com\SIF.

g. unzip the D:\SC91_Com\Sitecore.BizFX.2.0.3.zip

h. Unzip the D:\SC91_Com\Sitecore.Commerce.Engine.SDK.3.0.40.zip file
     Copy  D:\SC91_Com\Sitecore.Commerce.Engine.SDK.3.0.40\Sitecore.Commerce.Engine.DB file into D:\SC91_Com folder

Now D:\SC91_Com folder having the all packages (ref. below screenshot)



i. Download sc910_com_install.ps1 and put it into D:\SC91_Com\SIF

Step 4:  Preparing the Installation File


Edit the Installation file.

Parms:

  • $Prefix - Name of your Sitecore site.
  • $SiteHostHeaderName - Host header for your Sitecore site.
  • $ScInstallDirectory - Location of the default sitecore site installs


(Note : The all parm values must match with your XP sitename,Xconnect site name, Identity server site name)
ex. refer the below screenshot for your reference(try to add same like image if your XP site name is sitecore91.sc ,sitecore91.xconnect,sitecore91.identityserver)



  • Path - The path to the Master_SingleServer.json file provided in the "SIF.Sitecore.Commerce package". for ex. 'D:\SC91_Com\SIF\Configuration\Commerce\Master_SingleServer.json
  • BaseConfigurationFolder - The path to the SIF Sitecore Commerce folder for ex.  'D:\SC91_Com\SIF\Configuration'
  • InstallDir   - Location of the Sitecore site
  • XConnectInstallDir - Location of the xConnect site.
  • SitecoreDbServer - Location of the database server hosting the Sitecore databases (same value used for $SqlServer during Sitecore XP installation).



Try to provide static values, refer the below image.



Rename the installation script to "Sitecore-Commerce-Install". Now your installation script is ready.

Step 5: Run the Installation process

  • launch PowerShell as an administrator
  • change directory to 'D:\SC91_Com\SIF'
  • execute .\Sitecore-Commerce-Install





I assure, if you follow the above steps, you will get a smooth installation.

After this , login into sitecore and navigate to /sitecore/content/Sitecore/Storefront/Home and preview the example eCommerce page.



After this follow the post installation steps mentioned in the sitecore document
http://commercesdn.sitecore.net/SitecoreXC_9.1/Sitecore_XC-9.1_Installation_Guide_for_On-Prem.pdf
                        
Thanks :)

No comments:

Post a Comment

Check the users Logged into the sitecore backend

Hi, Today I'm going to discuss about " how to check the concurrent users logged into the sitecore backend ? ". For this ...