SitecoreXP 9.0 came up with lot of changes out of which the very noticeable change is the Sitecore setup process.
This blog will help you in setting up and running SitecoreXP 9.0 on your local instance. I have made sure that I cover all the setup steps and procedures that you would need for this. If you need more depth of instruction please follow the Installation guide provided by Sitecore Experience Platform 9.0 Initial Release and please feel free to add your questions and comments on the post.
So let’s get started with Sitecore 9 setup steps.
1.Requirements to Setup
·IIS versions:IIS 10.0 , IIS 8.5
·Operating System: Windows Server 2016, Windows Server 2012 R2 (64-bit), Windows 10 (32/64-bit) , Windows 8.1 (32/64-bit)
The Sitecore Installation Framework has the following requirements
a.Web Deploy 3.6 for Hosting Servers
b.URL Rewrite 2.1
c.Microsoft SQL Server Data-Tier Application Framework (DACFx) version 17.1 x
If the DACFx fails to install, you can see the following error message when using the framework: The SQL provider cannot run with dacpac option because of a missing dependency. Please make sure that DACFx is installed.
6.Make sure you have the Java installed or have the latest JRE
7.Install Visual Studio 2015 Professional and make sure you have the .Net Framework Dev Packinstalled and do not forget to install ScriptDom using the installer for Visual Studio (Microsoft SQL Server Transact-SQLScriptDom).
·Open PowerShell as administrator and go to the path C:\solr\solr-6.6.2\server\etc and run the command.
&'C:\Program Files (x86)\Java\jre1.8.0_141\bin\keytool.exe' -genkeypair -alias solr-ssl -keyalgRSA -keysize 2048 -keypass secret -storepass secret -validity 9999 -keystoresolr-ssl.keystore.jks -ext SAN=DNS:localhost,IP:127.0.0.1 -dname "CN=localhost, OU=Organizational Unit, O=Organization, L=Location, ST=State, C=Country". Note: Modify the command with the path of your local keytool.exe. The keypass and storepass are
provided as secret, if you want to give a different password then you
should replace “secret”. You have to enter this password verification while
running the command.
·Then we need to convert key to PEM format with command:
·Download the Sitecore 9.0.0 rev. 171002 (WDP XP0 packages).zip file from Sitecore and unblock the zip once downloaded.
·Extract the contents from Sitecore 9.0.0 rev. 171002 (WDP XP0 packages).zip to the folder C:\Sitecore9XP\. Inside the extracted content in Sitecore9XP folder you will find XP0 Configuration Files rev.171002.zip which you have to extract again inside the Sitecore9XP folder as shown below. The license.xml file is added exclusively for the Sitecore license and install.ps1 is created to have the PowerShell command whose details will be covered in the next steps.
·Open PowerShell as administrator and set Execution policy by running the below command and accept it by saying “A” (Yes to ALL).
Note: define Parameters as per your namings and folder structure followed. The Sql Server parameter should be (local) as your database is pointing to the local DB. Make sure the password and login you have provided in the parameters for the SqlAdminUser and SqlAdminPassword exists and work on your local DB.
·Run install.ps1 in PowerShell
·Open your website/Sitecore on the browser and login with “admin” and password “b”. Voila!! You will be able to see the Sitecore page.
14.Post installation steps.
·Open your local DB server, Right click on the server and open new query and on the Query menu click on SQLCMD mode as shown below.