One of the pre-requisites of installing Sitecore 9 locally is Solr. For my local Sitecore 9.2 installation I had to install Solr 7.5.0. I found many articles online and especially found this one useful.
Here are the 3 steps I following to install Solr 7.5.0 locally
Step 1:
Install java from the oracle website. After the installation, assuming that you have installed java 13.0.1, add the following Path environment variable (shown as #2 in below image)
C:\Program Files\Java\jdk-13.0.1\bin
To verify, open the cmd prompt and run the command "java -version"
You should get something like the following if it is installed correctly.
Step 2:
Install JRE locally. I installed it from the cnet website. After the installation, assuming that you have installed jre 1.8.0_221 set the JAVA_HOME environment variable (sown as #3) to:
C:\Program Files (x86)\Java\jre1.8.0_221
Step 3:
Open powershell as admin. If you haven't done so before, run the command
"Set-ExecutionPolicy Unrestricted"
Download this ps1 file and go to the folder you downloaded it to. Assuming that is "C:\Installs\Sitecore 9.2", run the ps1 from there as follows
That's it. If all is successful your solr instance should auto load with the url
https://solr:8983/solr/#/
Happy Sitecoreing!
Here are the 3 steps I following to install Solr 7.5.0 locally
Step 1:
Install java from the oracle website. After the installation, assuming that you have installed java 13.0.1, add the following Path environment variable (shown as #2 in below image)
C:\Program Files\Java\jdk-13.0.1\bin
To verify, open the cmd prompt and run the command "java -version"
You should get something like the following if it is installed correctly.
Step 2:
Install JRE locally. I installed it from the cnet website. After the installation, assuming that you have installed jre 1.8.0_221 set the JAVA_HOME environment variable (sown as #3) to:
C:\Program Files (x86)\Java\jre1.8.0_221
Step 3:
Open powershell as admin. If you haven't done so before, run the command
"Set-ExecutionPolicy Unrestricted"
Download this ps1 file and go to the folder you downloaded it to. Assuming that is "C:\Installs\Sitecore 9.2", run the ps1 from there as follows
That's it. If all is successful your solr instance should auto load with the url
https://solr:8983/solr/#/
Happy Sitecoreing!
Comments
Post a Comment