Setup Solr 6.6.2 in Rocket Speed
Setup Solr 6.6.2 in Rocket Speed
We are able to see many faces lot of issues during Solr Setup for  Sitecore 9, we have provided the steps below which can guide you to do the installation like flying on the sky with jacket suit to land on exact point.
[caption id="attachment_206" align="aligncenter" width="663"]
Solr Basic View[/caption]
Note: you may change the secret on above and the powershell script too. But make sure both are same.
Now we are ready with the Solr setup with Rocket Speed.
if we are going to access the Solr from another server, then the certificate generated has to be exported and installed in the accessing server, this will be explained in another post.
https://xchangesitecore.com/setup-solr-6-6-2-in-rocket-speed/ Vikash Raaj
- Download the Solr from Solr Setup
 - Extract the zip to C:solrsolr-6.6.2 can be any folder as per the wish, but dont place under users folder or its sub folder.
 - open Command Prompt (run as administrator) and go to the folder
C:solrsolr-6.6.2bin
Type the command and press enter
solr start
 - open a browser, navigate to http://localhost:8983/
- you could see solr portal loading up in the browser.
 
 
[caption id="attachment_206" align="aligncenter" width="663"]
Solr Basic View[/caption]Now lets run solr as windows service
- Download NSSM [Not Sucking Service Manager] from Download and extact to c:solrNSSM basically keep it within the solr parent folder, else we might need to search in future if want.
 - Open the powershell in admin mode and go to the NSSM folder [c:solrNSSM]
 - Execute the below Command
nssm install Solr6.6.2
it opens a windows application, now navigate to application tab
enter the below path to path text box
C:solrsolr-6.6.2binsolr.cmd
enter the below path in start up directory
C:solrsolr-6.6.2bin
enter the below in arguments text box
start -f -p 8983
Click Install Service Button at the bottom - Now open services.msc window and see the solr service named solr6.6.2 would be running.
 
Lets Setup Solr to Run in SSL Mode.
- Download the power shell script and execute the same in powershell admin mode.
 - 2 files would be created with name solr-ssl.keystore but different extension .jks & .p12
 - Copy both the files and place it into
C:solrsolr-6.6.2serveretc - Open the below file in notepad
C:solrsolr-6.6.2binsolr.in.cmd and add below 4 lines 
set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks
set SOLR_SSL_KEY_STORE_PASSWORD=secret
set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks
set SOLR_SSL_TRUST_STORE_PASSWORD=secret
Note: you may change the secret on above and the powershell script too. But make sure both are same.
- Restart the Solr Service in windows service.
 - open a browser, navigate to https://localhost:8983/
 - you can see the green bar with word secure in the url, that means our solr is running in SSL mode, this will work perfectly to connect with sitecore now.
 
Now we are ready with the Solr setup with Rocket Speed.
if we are going to access the Solr from another server, then the certificate generated has to be exported and installed in the accessing server, this will be explained in another post.
https://xchangesitecore.com/setup-solr-6-6-2-in-rocket-speed/ Vikash Raaj

Comments
Post a Comment