Using SIF Less tool, it was pretty easy to install Sitecore 9, Following steps helps to Install Sitecore 9 smoothly.
STEP 1: Open command prompt with Administrator Rights
STEP 2: Download/Install Chocolatey from https://chocolatey.org/install
Install with Command line
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Install with Powershell
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
STEP 3: Install Microsoft Web Platform from https://www.microsoft.com/web/downloads/platform.aspx
STEP 4: Make sure that you have installed/install the Following Modules using Microsoft Web Platform Installer
- URL Rewrite
- Web Deploy 3.6 for Hosting Services
- DACFx – Microsoft SQL Server Data-Tier Application Framework
- ScriptDom – Microsoft SQL Server 2012 SP1 Transact-SQL ScriptDom (Latest)
STEP 5: Download & Install SQL Server Data Tools (SSDT) from Microsoft or using Chocolatey
choco install ssdt15
FYI: you need download/install the version based on your SQL server. For SQL 2017 it should be ssdt17
STEP 6: Download & Install Java Runtime using Chocolatey
choco install javaruntime
STEP 7: Download Solr 6.6.2 from http://archive.apache.org/dist/lucene/solr/
STEP 8: Extract the Zip file downloaded and to Copy to C drive (eg: c:\solr-6.6.2)
STEP 9: Download & Install NSSM – the Non-Sucking Service Manager
choco install nssm
STEP 10: Register Solr Service using NSSM
nssm install solr
It will show the NSSM Installer, there you need to provide the Path to the Solr and also pass the arguments along with the port 8983 or as you wish.
STEP 11: Start Solr
nssm start solr
To test the solr you can browse http://localhost:8983/solr
STEP 12: Open Powershell using Administrator mode.
STEP 13: Now we need to enable the SSL for Solr, to do go-to https://kamsar.net/index.php/2017/10/Quickly-add-SSL-to-Solr/ and you can find the Powershell script and follow the steps mentioned in the article.
- Open the solrssl.ps1 script in notepad or any editor
- Provide the path for keytool.exe on line 37 (eg. C:\Program Files\Java\jre1.8.0_181\bin\keytool.exe)
- Save the File
- Open the Windows Powershell in Administrator mode.
- Navigate to the folder where the solrssl.ps1 saved.
- Run the script
.\solrssl.ps1 -KeystoreFile C:\solr-6.6.2\server\etc\solr-ssl.keystore.jks
STEP 14: Now open the Solr folder in the filesystem (eg: C:\solr-6.6.2\bin) and find solr.in.cmd and edit this file using notepad and uncomment the below lines
REM Uncomment to set SSL-related system properties REM Be sure to update the paths to the correct keystore for your environment set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks set SOLR_SSL_KEY_STORE_PASSWORD=secret set SOLR_SSL_KEY_STORE_TYPE=JKS set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks set SOLR_SSL_TRUST_STORE_PASSWORD=secret set SOLR_SSL_TRUST_STORE_TYPE=JKS set SOLR_SSL_NEED_CLIENT_AUTH=false set SOLR_SSL_WANT_CLIENT_AUTH=false
STEP 15: Restart Solr
nssm restart solr
now you can open the Solr using https://localhost:8983/solr
STEP 16: Register the Powershell NuGet Repository and Install the modules, you can find more information from https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/sitecore_powershell_public_nuget_feed_faq
STEP 17: Create a Folder in C drive or any other drive of your choice and name it “Sitecore”
STEP 18: Create a folder inside and name it as “Configuration”
STEP 19: Go-to Sitecore Downloads https://dev.sitecore.net/
STEP 20: Go-to options for On-Premises deployment, and download Packages for XP Single
STEP 21: Extract the files in the folder you’ve created in Step 17.
STEP 22: Now you extract the Zip file starts with XP0 Configuration* to the Configuration folder created in STEP 18.
STEP 23: Download the SIF Less Tool from https://bitbucket.org/RAhnemann/sif-less/downloads/SIFLess.zip
Find more information from http://www.rockpapersitecore.com/2017/10/introducing-sif-less-for-easy-sitecore-9-installation/
Generate the Powershell Script using SIF Less and you can find the generated file inside the same folder where you run the SIF Less tool.
STEP 23: Now Run the Install Script from the SIF Less tool. It will take some time to install the Sitecore 9 and you can start using it.
STEP 24: Congratulations! your Sitecore 9 setup is done.
Hope this article helps,