Coder Social home page Coder Social logo

billcacy / sitecore-powershell-installer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from patrickperrone/sitecore-powershell-installer

0.0 1.0 0.0 369 KB

A PowerShell script to install Production-grade Sitecore instances. Capable of installing a variety of server roles.

License: MIT License

PowerShell 100.00%

sitecore-powershell-installer's Introduction

Sitecore-PowerShell-Installer

The Sitecore-PowerShell-Installer script enables you to install Production-ready Sitecore instances from the command-line. This script supports installing Sitecore 8.0, 8.1, and 8.2. I've provided some example .config files for standard Sitecore server roles to help get you started.

Features of the Project

  • Install Sitecore with or without the databases.
  • Supports installing a CD, CM, Processing, or Publishing server
  • Script sanity checks SQL connection, input validation, and module dependencies prior to making any changes
  • Write output to the screen and to a log file.
  • Fine-grained control of the application pool identity (built-in or domain account)
  • Assign recommended file system permissions on web server.
  • Add application pool identity to recommended local groups on web server.
  • Create user mappings for login in SQL and grant execute permission.
  • Install database files on any valid filesystem path or UNC share
  • SQL Login used during install doesn't have to be the same account executing the script.
  • Full supports MongoDB's connection string specification
  • May supply a Solr base address
  • Choose to use SQL as a session state server
  • Optionally encrypt connection strings
  • Many CD-hardening options

Software Dependencies

Requirements

  • SQL logins must exist prior to running script
  • SQL login used for install must have the sysadmin role
    • You may optionally turn off all database operations by disabling the <database> configuration element. Do this if database operations must be performed through some other process. Turning database operations removes this requirement.
  • The path used to install SQL files must exist and the targetted SQL instance must have FullControl
    • As above, you may either turn off all database operations or disable installing the databases. If you only disable installing databases, the script will still try to ensure things like permisssions on the databases are set.
  • Must have a valid Sitecore .zip file

How To Use

  1. Download script and .zip for desired Sitecore version
  2. Edit config file; watch video for explanation of settings and sample config files.
  3. Run Powershell as Administrator and invoke . .\install.ps1

Troubleshooting

  • If you see an error in PowerShell complaining that "the execution of scripts is disabled on this system." then you need to invoke Set-ExecutionPolicy -ExecutionPolicy unrestricted -Force
  • If you receive a security warning after invoking . .\install.ps1 and want to make it go away permanently, then right-click on the install.ps1 file and "Unblock" it.

This script was inspired by Alex Shyba's script: https://github.com/Sitecore/PowerShell-Script-Library

sitecore-powershell-installer's People

Contributors

patrickperrone avatar arkefred avatar fredhuffman avatar torrentx avatar altearius avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.