⟵ Resources

Sitecore XP 10 Initial Release – Install / Uninstall by using Sitecore Install Framework version 2.3

System admin abstract design

To be frank, you should use SIA (e.g Sitecore Install Assistant) to install Sitecore 10.0 as that way is super friendly and easy. Personally, I wanted to keep playing around with Windows PowerShell console so I have a good chance to dive deeper into the problem of the install operation if any.

This blog post is a summary of my own experience with Sitecore Experience Platform 10 Initial Release installation on my machine with the following install guide:

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

Note: since Sitecore 9.3, by default, we have been able to use our own install directory rather than the default one

Setup Prerequisites

Step by step guide

  1. (optional)if you have never installed Sitecore 9 and later, you will probably want to:
    • open Windows PowerShell (run as administrator)
    • execute Set-ExecutionPolicy -Scope CurrentUser Unrestricted
    • Running Set-ExecutionPolicy for SC10.0
  2. (optional) install Sitecore Install Framework(SIF) if not yet
    • open Windows PowerShell (run as administrator)
    • use the following commands to install the latest version of SIF
      1. Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2
      2. Install-Module SitecoreInstallFramework
  1. (optional)if you already installed previous SIF versions, you would have upgraded it to a new version 3.0
    • open Windows PowerShell (run as administrator)
    • you should use the following command to get all the the current SIF versions
      1. Get-Module -Name SitecoreInstallFramework -ListAvailable
    • option 1: use the following command to update to the latest version of SIF
      1. Update-Module SitecoreInstallFramework -force
      2. SitecoreInstallFramework is v2.3.0 for SC10.0
    • 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
  2. create a new folder D:sc100_install
  3. download and unzip Package for XP Single(Note: must log into https://dev.sitecore.net/ before downloading)
    • copy / paste the following ones to D:sc100_install
      1. Sitecore 10.0.0 rev. 004346 (OnPrem)_single.scwdp.zip
      2. Sitecore 10.0.0 rev. 004346 (OnPrem)_xp0xconnect.scwdp.zip
      3. IdentityServer 5.0.0 rev. 00277 (OnPrem)_identityserver.scwdp.zip
    • unzip XP0 Configuration files 10.0.0 rev. 004346.zipand copy / paste all files to D:sc100_install
    • List of JSON files and the PS1 file
  4. let’s install the prerequisites
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc100_install
    • execute Install-SitecoreConfiguration -Path prerequisites.json
    • Running Install-SitecoreConfiguration for SC10.0
    • Note: Sitecore prerequisites are now installed, YOU MUST launch a new PowerShell session to run further SIF configurations
    • Prerequisites installed for SC10.0
  5. install SOLR 8.4.0 if not yet
    • adjust appropriate values by editing D:sc100_installSolr-SingleDeveloper.json such as SolrPortSolrInstallRoot if necessary
    • DefaultValue in the config file for SC10.0
    • open Windows PowerShell (run as administrator)
    • change directory to D:sc100_install
    • execute Install-SitecoreConfiguration -Path Solr-SingleDeveloper.json
    • Running Install-SitecoreConfiguration for SC10.0
    • Solr version 8.4.0 for SC10.0
  6. copy / paste your Sitecore license file xml to D:sc100_install
  7. adjust appropriate values by editing D:sc100_installXP0-SingleDeveloper.ps1 such as:
    • $Prefix
    • $SitecoreAdminPassword
    • $SCInstallRoot
    • $SitePhysicalRoot
      1. note: DON’T use double backslash  in the folder path  (for instance D:\websites) otherwise you may get the following error Failed to start service ‘Sitecore Marketing Automation Engine
      2. Starting automation engine
    • $SolrUrl
    • $SolrRoot
    • $SqlServer
    • $SqlAdminUser
    • $SqlAdminPassword
    • List of values in the config file for SC10.0
  8. open Windows PowerShell (run as administrator)
    • (optional)if you have various SIF versions on your machine, you will probably have to run 3.0 version of SIF by executing Import-Module SitecoreInstallFramework -Force -RequiredVersion 2.3.0
    • change directory to D:sc100_install
    • execute .XP0-SingleDeveloper.ps1
    • Running PS1 file for SC10.0
  9. hopefully there is nothing can stop the installation process and then note Sitecore Admin Password + SSL enabled as well
    • Show sitecore admin password for SC10.0
  10. open a browser (assume that you’re using the following values):
  11. DON’T FORGET to rebuild the search indexes and the Link database
    • Rebuilding search indexes and the link database details

How to uninstall it?

  • open D:sc100_installXP0-SingleDeveloper.ps1and uncomment the line 80 + comment out the line 77 then save it
  • Install-SitecoreConfiguration details
  • open Windows PowerShell (run as administrator)
  • change directory to D:sc100_install
  • execute .XP0-SingleDeveloper.ps1
  • Removing hosts entry
  • hopefully, it runs well and cleans everything up

Got issues?

Please send your issues (with screenshots if possible) to [email protected] so that I have a chance to understand your problem and be able to suggest the solution.

Happy Sitecore Experience Platform 10.0 Installation!

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

8 Irresistible Tips to Craft Ad Copy That Converts in Paid Online Campaigns

Sitefinity Cache Invalidation

Why WordPress is the Ideal Scalable Solution for Growing Businesses

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.