Skip to content

Instantly share code, notes, and snippets.

View ReoKzK's full-sized avatar

Radoslaw Kozlowski ReoKzK

View GitHub Profile
@ReoKzK
ReoKzK / Download and Install MongoDB as Windows Service PowerShell Script.ps1
Last active June 29, 2017 14:00 — forked from serdarb/Download and Install MongoDB as Windows Service PowerShell Script
A nice powershell that dowloads mongodb and installs it as windows service... this script is good for development machines.
Set-ExecutionPolicy RemoteSigned
$mongoDbPath = "C:\MongoDB"
$mongoDbConfigPath = "$mongoDbPath\mongod.cfg"
$url = "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-3.4.5.zip"
$zipFile = "$mongoDbPath\mongo.zip"
$unzippedFolderContent ="$mongoDbPath\mongodb-win32-x86_64-2008plus-3.4.5"
if ((Test-Path -path $mongoDbPath) -eq $True)
{
@ReoKzK
ReoKzK / Install Solr.ps1
Created March 14, 2017 09:04 — forked from kamsar/Install Solr.ps1
Sitecore Solr Cannon
# This script will set up (and install if needed) Apache Solr for a Sitecore instance.
# This does NOT configure Sitecore to use Solr,
# just the Solr server and cores for Sitecore to connect to once it is set up to use Solr.
# So, what does it do?
#
# * Installs SOLR, if needed, from the Bitnami SOLR stack: https://bitnami.com/stack/solr/installer
# * Creates a SOLR config set for the cores to share (shared schema)
# * Creates SOLR cores for all Sitecore indexes, including secondary cores to support online reindexing (Switch on Rebuild)