Setting up a developer VM got much easier with 9.2. I'm sure lots of these "how to" posts are going up; here's mine (as much for my own reference as anything else).
I'm assuming you're using a "bare" Azure VM with Server 2016, but the steps shouldn't be much different for other hosting scenarios. I use a DS4 v3. I take liberties with security best practices, since this is a dev box.
Installing SQL
Install en_sql_server_2017_standard_x64_dvd_11294407.iso.
- Instance ID: MSSQLSERVER
- Mixed Mode authentication
- Assign a SA password
- Add your machine account as an admin.
Install management tools 8.1
Create a service account
- sitecore/sitecore
- Enforce password policy off
- Server Roles > sysadmin
Enable "contained database authentication"
- Run the SQL script: EXEC sp_configure 'contained', 1; RECONFIGURE;
Install Solr 7.5
- There's lots of good Solr installation scripts. I used this one: https://github.com/Sitecore/Sitecore.HabitatHome.Utilities/blob/master/XP/install/Solr/install-solr.ps1 to C:\Setup\solr\
- Setup the variables at the top as desired:
[string]$solrVersion = "7.5.0",
[string]$installFolder = "C:\solr",
[string]$solrPort = "8983",
[string]$solrHost = "solr750.local",
[bool]$solrSSL = $TRUE,
[string]$nssmVersion = "2.24",
[string]$keystoreSecret = "secret",
[string]$KeystoreFile = 'solr-ssl.keystore.jks',
[string]$SolrDomain = 'solr750.local',
[switch]$Clobber
- Run powershell as admin in C:\Setup\Solr
- .\Install-Solr.ps1
- Test https://solr750.local:8983/solr/#/
IIS
- IIS 10, using Server Manager > Roles and Features > Tasks > Add Roles and Features > Web Server
- .NET Core 2.1.7 Windows Hosting Module https://dotnet.microsoft.com/download/thank-you/dotnet-runtime-2.1.7-windows-hosting-bundle-installer
Sitecore
Install SIF
- Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2
- Update-Module SitecoreInstallFramework
- Validate: Get-Module SitecoreInstallFramework –ListAvailable
Install Sitecore
- Use “Graphical setup package for XP Single” https://dev.sitecore.net/~/media/1C1D7C4CBC934A6AA36825974A18A72E.ashx
SXA
https://dev.sitecore.net/Downloads/Sitecore_Experience_Accelerator/19/Sitecore_Experience_Accelerator_190.aspx- [Correction 7/29/18] SXA 1.9 requires Sitecore Powershell Extensions 5.1. As of this writing, that version is not available on the Marketplace. You can download SPE 5.1 from https://github.com/SitecorePowerShell/Console/releases/tag/5.1.
Install Sitecore Powershell Extensions 5.0 full from https://marketplace.sitecore.net/Modules/Sitecore_PowerShell_console.aspx
- Download “Sitecore Experience Accelerator for 9.2” from https://dev.sitecore.net/~/media/FB62D25D54C945999FE05C0E22B29622.ashx
- Follow instructions in the Installation Guide https://dev.sitecore.net/~/media/870D6095010241668E83E16C8DB2C850.ashx
(be sure to create and populate cores, rebuild indexes)
JSS
- Install the latest Node.js https://nodejs.org/en/
- Download server components https://dev.sitecore.net/~/media/21E55AD5AEA145C2903E1FB3A25B079E.ashx
- Install package Sitecore JavaScript Services Server for Sitecore 9.2 XP
No comments:
Post a Comment