Skip to content

Instantly share code, notes, and snippets.

@sebastiantecsi
Last active November 24, 2020 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastiantecsi/b5430fbb230a282416f1cdf4c9f31504 to your computer and use it in GitHub Desktop.
Save sebastiantecsi/b5430fbb230a282416f1cdf4c9f31504 to your computer and use it in GitHub Desktop.
Sitecore 10 Solr 8.4.0 install
# The Prefix that will be used on SOLR, Website and Database instances.
$Prefix = "Demo"
# The root folder with the license file and WDP files.
$SCInstallRoot = "C:\ResourceFiles"
# Install Solr Single Developer
$SolrSingleDeveloperParams = @{
Path = "$SCInstallRoot\Solr-SingleDeveloper.json"
SolrInstallRoot = "c:\Solution\SolR840\SolR840-$Prefix"
SolrServicePrefix = $Prefix
SolrPort = "9999"
SolrDomain = "localhost"
}
Push-Location $SCInstallRoot
Install-SitecoreConfiguration @SolrSingleDeveloperParams *>&1 | Tee-Object Solr-SingleDeveloper.log
# Uncomment the below line and comment out the above if you want to remove the XP0 SingleDeveloper Config
#Uninstall-SitecoreConfiguration @SolrSingleDeveloperParams *>&1 | Tee-Object Solr-SingleDeveloper.log-Uninstall.log
Pop-Location
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment