HomeAbout MeContact

Install solr locally for sitecore 9

By Sumith Parambat Damodaran
Published in Technology
January 23, 2018
1 min read
Install solr locally for sitecore 9

REINSTALLING MACHINES, RE INSTALLING SOLR FOR SITECORE.

This is a savior.

I placed all my Solr scripts in 1 place

Update : Solr solr-7.2.1

https://www.dropbox.com/s/kripvbtc52b8ult/solr-7.2.1.zip?dl=0

Install solr

choco install javaruntime -y
choco install nssm -y

Uninstall Solr

There are times you may need to uninstall solr version, a quick powershell script for that

Get-service | Where-Object {$_.Name -match "solr"} | Select-Object -ExpandProperty Name | foreach { & sc.exe DELETE $_ }

For 7.2.1 change version

Nssm install solr

- > C:\solr-6.6.2\bin -> argument : start -f -p 8983 -> display name : Solr 6.6.2 -> Description : Solr 6.6.2 on port 8983
Nssm Start solr

Check -http://localhost:8983/solr/#/

Enable SSL

7.2.1

https://www.dropbox.com/s/7qs8nzbhqu4nzhq/solr-ssl.ps1?dl=0

https://www.dropbox.com/s/dk9ijngusvynut8/GenerateSolrCertificate.ps1?dl=0

6.6.2

https://www.dropbox.com/s/h7bau30bcmuzccs/solr-ssl.ps1?dl=0

https://www.dropbox.com/s/o6ujs7z6jjuh3rs/GenerateSolrCertificate.ps1?dl=0

nssm restart solr

https://localhost:8983


Tags

SOLRSitecore
Previous Article
Note to myself - Powershell Path and version script
Sumith Parambat Damodaran

Sumith Parambat Damodaran

Product Manager

Topics

General
Product Management
Technology

Related Posts

Note to myself - Powershell Path and version script
December 06, 2017
1 min

Quick Links

Advertise with usAbout UsContact Us

Social Media