installation

Playing with Sitecore 9.0 Update 2 Installation

Sitecore Experience Platform 9.0 Update 2 (aka Sitecore XP 9.0.2) has just been out. It’s a good chance for me to have another blog post by playing with the installation. Personally, I want to use my own install directory rather than the default one.

  • open A step by step guide for Sitecore 9 installation on your machine
  • follow Step 1 to Step 4
  • from Step 5 to Step 7: play with SOLR 6.6.2 instead of SOLR 6.6.1
  • follow Step 8 and Step 9
  • bypass Step 10, do this step instead: download and unzip Package for XP Single (Note: must log into https://dev.sitecore.net/ before downloading)
    • copy / paste Sitecore 9.0.2 rev. 180604 (OnPrem)_single.scwdp.zip to D:\sc9_install
    • copy / paste Sitecore 9.0.2 rev. 180604 (OnPrem)_xp0xconnect.scwdp.zip to D:\sc9_install
    • unzip XP0 Configuration files 9.0.2 rev. 180604.zip and copy / paste all files to D:\sc9_install
    • sc9_13
    • open raw and then copy / paste sitecore-XP0.json into D:\sc9_install\sitecore-XP0.json
    • open raw and then copy / paste xconnect-xp0.json into D:\sc9_install\xconnect-xp0.json
      • Note: you will normally see the error “Invalid JSON primitive” if you do Copy source to clipboard due to an unrecognized escape sequence. The operation keeps going on, however there will be no xConnect site created later
      • sc902_11
  • follow Step 11
  • bypass Step 12, do this step instead: download sc9_install_customDir.ps1 and then copy / paste it to D:\sc9_install, after that open it to correct 05 parameters below:
    1. $prefix
    2. $InstallDirectory (Note: this one is to specify your own install directory)
    3. $SqlServer
    4. $SqlAdminUser
    5. $SqlAdminPassword
  • bypass Step 13, do this step instead:
    • open Windows PowerShell (run as administrator)
    • sf20_1
    • hopefully there is nothing can stop the installation process
      • otherwise take a look at Note: some known issues in the previous post
    • open a browser, navigate to http://{$prefix}.local/ and http://{$prefix}.local/sitecore/ (log into it by using super famous account admin / b)
    • sc902_1
  • bypass Step 14, do this step instead:

How to uninstall it?

  • download sc9_uninstall.ps1 and put it into D:\sc9_install then open it to correct 07 parameters below:
    1. $Prefix
    2. $InstallDirectory
    3. $SolrService
    4. $PathToSolr
    5. $SqlServer
    6. $SqlAccount
    7. $SqlPassword
  • open Windows PowerShell (run as administrator)
    • sf20_5.png
  • hopefully, it runs well and cleans everything up

 

Got issues?

Please send your issues (with screenshots if possible) to viet.hoang.sitecore@gmail.com so that I have a chance to understand your problem and be able to suggest the solution.

Happy Sitecore 9 Playing!

13 thoughts on “Playing with Sitecore 9.0 Update 2 Installation

  1. I am getting the below error when I followed the steps. Please help.

    Failed to construct a huffman tree using the length array. The stream might be corrupted.
    Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD.
    Install-SitecoreConfiguration : Command C:\Program Files\iis\Microsoft Web Deploy V3\msdeploy.exe returned a non-zero
    exit code – (-1)
    At E:\sc9_install\sc9_install.ps1:92 char:1
    + Install-SitecoreConfiguration @sitecoreParams
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Install-SitecoreConfiguration

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.