Monday, September 10, 2018

sitecore 9 update 2 installation


Prerequisites
• Windows 10
• Sitecore License with xDB
• MS SQL Server 2016
• MS SQL Management Studio
• .Net Framework 4.6
• Web Deploy  - https://www.microsoft.com/en-us/download/details.aspx?id=43717
• SOLR 6.6.2 - http://archive.apache.org/dist/lucene/solr/6.6.1/solr-6.6.2.zip
• Java 8
• Non-Sucking Service Manager NSSM - https://nssm.cc/download
• Packages for XP Single (On Premises deployment) - https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/Sitecore_Experience_Platform_90_Update2.aspxStep by step guide

1. install the ones below if not yet
• Web Deploy
• Java 8.0
• Set the Java_Home Variable
2. create a new folder C:\Sitecore\Install
3. install SOLR 6.6.2
• copy the solr-6.6.2.zip to C:\Sitecore
• Extract the Zip
• Run Command Prompt as administrator

• Check solr working or not by using http://localhost:8983/


4. Now SOLR 6.6.2 run as a window service
• download NSSM and install it
• Extract to C:\Sitecore
• Run Command Prompt as administrator


• Check whether Solr_6.6.2 window service is running


5. set up HTTPS for SOLR 6.6.2
• download this PowerShell file solrssl.ps1 and put it into C:\Sitecore\Install\
• update the key tool path to your local path in solrssl.ps1 file



• Run Windows PowerShell as administrator


• in case if you got the error, open Windows PowerShell (run as administrator)
• Set-ExecutionPolicy -Scope CurrentUser Unrestricted

• Remove Comment from these 4 lines in solr.in.cmd file(C:\sitecore\solr-6.6.2\bin).

• Restart Solr_6.6.2 service
• open a browser, navigate to https://localhost:8983/




6. Install  Sitecore Install Framework
• Run Windows PowerShell 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
3. Install-Module SitecoreFundamentals
4. Install-Module SitecoreInstallFramework
5. Install-Module SitecoreFundamentals

7. enable Database Authentication


8. download and unzip Package for XP Single
• copy / paste Sitecore 9.0.2 rev. 180604 (OnPrem)_single.scwdp to C:\Sitecore\Install
• copy / paste Sitecore 9.0.2 rev. 180604 (OnPrem)_xp0xconnect.scwdpto C:\Sitecore\Install
• unzip XP0 Configuration files 9.0.2 rev. 180604.zip and copy / paste all files to C:\Sitecore\Install

9. copy / paste Sitecore licence file (license.xml) to C:\Sitecore\Install
10. download sc9_install.ps1 and copy / paste it to C:\Sitecore\Install, open it update below:


11. open Windows PowerShell (run as administrator)


• When the installation process completed.
navigate to http://sc9.sc/ and http://sc9.sc/sitecore/