I mentioned in my earlier post that some of the steps for installing Sitecore 9 for development have changed in the general release. In this post, I have updated the steps to follow to get the retail version set up.
- Microsoft Windows 8.1 or later, with IIS installed.
- Microsoft SQL Server 2016 or later (Express version OK)
Once installed, execute the following configuration change:
- Apache Solr 6.6.1 (tested with 6.6.2, does NOT work with version 7 or later because of deprecated primitive field types)
- Install the following modules in IIS using Web Platform Installer:
- URL Rewrite 2.1
- Web Deploy 3.6 for Hosting Servers
- Microsoft SQL Server Data-Tier Application Framework (DACFx)
- Microsoft SQL Server Transact-SQL ScriptDom
- Install Apache Solr with SSL support (has to be accessible through https). Record the installation path, and also the Windows Service name you used when installing it as a Service.
- Open PowerShell in Administrator mode.
Set the Execution Policy to RemoteSigned, using the following command:
Install the Sitecore Install Framework using MyGet:
- From https://dev.sitecore.net download the "Packages for XP Single" XP0 under the "Download options for On Premises deployment" section in the Downloads page.
- Extract the contents of the downloaded ZIP file to an easy access folder (for this example, extracted under C:\Projects\Sitecore)
- Extract the contents of the XP0 Configuration Files rev.XXXXXX.zip file into the same folder.
- Copy your license.xml file to the same folder.
- The Sitecore Installation Guide includes a handy script that you can use to fully automate the installation of everything you need in your local environment. This script does the following things:
- Creates the xConnect certificates
- Creates the xConnect Solr cores
- Installs the xConnect site and services
- Creates the Sitecore Solr cores
- Installs Sitecore
Create this script file in the same C:\Projects\Sitecore folder, you can name it something like sc-localinstall.ps1:
- In an Administrator PowerShell window, go to C:\Projects\Sitecore, and execute the script by typing \.sc-localinstall.ps1
- Once it finishes installing (it can take several minutes), open a web browser and access the Sitecore interface. For this example, it would be accessed using http://sc9test.oshyn.com/sitecore and logging in with the default admin/b credentials.
Optional: Configuration for Sitecore Rocks
If you want to use Sitecore Rocks during development, you MUST do the following modification for the Sitecore Rocks Hard Rock Web Service to work. Add this modification in the main Web.config, under the configuration node: