Skip to content

sincladk/Install-Solr-For-Sitecore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install Solr for Sitecore

Operations

A PowerShell script that performs the following operations

Note: All steps performed only if necessary.

  1. Downloads NSSM and Solr (locations configured in parameters)
  2. Adds a host file entry
  3. Configures SSL
  4. Moves the example directory to server and removes the example collection1
  5. Extracts a blank copy of the Solr cores for Sitecore into the cores directory
  6. Registers Solr as a service (name configured in parameters)
  7. Runs the service and loads a web browser to the admin interface

Parameters

  • solrVersion - The version of Solr to install (used to download the right .zip file)
  • installFolder - The directory into which to install Solr and NSSM
  • solrPort - The port number to use for the web interface
  • solrHost - The hostname to use for the web interface
  • solrSSL - Whether or not to enable SSL for Solr
  • nssmVersion - The version of NSSM to install (used to download the right .zip file)
  • JREVersion - The current version of Java installed on the local machine (used to find the right JRE path)
  • solrInstanceName - The desired name of the Solr service

Prerequisites

  • Java VM 8+

    • After installing, make sure to update the $JREVersion parameter in the script to your installed version number
  • Microsoft's PackageManagement PowerShell Modules

  • Microsoft.PowerShell.Archive module installed

    Install-Module Microsoft.PowerShell.Archive
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published