Note to myself - Powershell Path and version script
December 06, 2017
1 min
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
Quick Links
Legal Stuff