Installing Sitecore 9.2 as a developer
My current role requires my upskilling into Sitecore development. As part of the Sitecore developer certification, a certain portion of the exam you undertake, requires you to understand the installation process.
Installation of Sitecore is not for the faint hearted. Even with the copious documentation provided, getting this to run successfully is beset with problems to trip you over. I've spent hours repeating the process of installing, and had driven myself mad with the number of times something broke, with no real pointers available as to why things broke. Some of the messages displayed during the procedure gave no clues as to what went wrong.
I've therefore used a variety of sources to prepare this guide in how to install the software as a developer. These links were referred to constantly while I played around with installation. Thank you to these bloggers for creating these guides. They proved to be a godsend!
To make things easier for me, I used Parallels Desktop for Mac, so I had a virtual Windows 10 Professional workstation. I was able to save snapshots at each stage of the installation process, so I could easily restart a step if a particular part of the process broke down.
- Sitecore XP 9.2 Initial Release – Playing around with custom install directory – Walking on clouds (buoctrenmay.com)
- Sitecore 9.2 Initial Release Installation Guide for Development Machine – straight to the core
- Sitecore 9.2 Installation – straight to the core
- Installing Solr 7.5 for Sitecore 9.2 – straight to the core
- Installing Sitecore 9 - Getting Started on a Local Developer Environment - YouTube
- The ‘Install-SitecoreConfiguration’ command was found in the module ‘SitecoreInstallFramework’, but the module could not be loaded. For more information, run ‘Import-Module SitecoreInstallFramework’. – Let's do Sitecore
- installation - Failed to start service Sitecore XConnect Search Indexer - Sitecore Stack Exchange
The last link helped me with an issue encountered during the Sitecore install. It turned out the license had already expired - the error messages didn't convey the fact that the license was in question.
The penultimate link helped with an issue that also occurred during the Sitecore installation, whereby a particular module couldn't load. This was down to a permissions issue within Windows Powershell, which was easily corrected by following the instructions within that page.
In order to install, I would suggest visiting Sitecore XP 9.2 Initial Release – Playing around with custom install directory – Walking on clouds (buoctrenmay.com) and following the step by step guide there:
- Follow steps 1 to 5 of the guide.
- Install SQL Server Developer edition and SQL Server Management Studio (see Installing SQL Server below)
- Follow steps 6 and 7 of the guide.
- For step 8, make sure you use the correct Sitecore license.xml file. Check to ensure that the expiration date has not elapsed. Perform a search for <expiration> within the license and check that the date is still in the future.
- Follow the remaining steps 9 to 13 of the guide.
- You should now have a functioning Sitecore installation.
Installing SQL Server
- Install the Developer edition of MS SQL Server. Accept the default installation.
- Install MS SQL Management Studio. You'll have to restart your computer when installation is complete.
- When you run Management Studio, login as a Windows administrator.
- Create a sysadmin user,
- The SQL server needs to be configured to allow users and logins to be contained at the database level. Run the following query:
- EXEC sp_configure 'contained', 1;
RECONFIGURE; - Once the query has run, and you have verified that the sysadmin account is usable, quit Management Studio, and open Windows Services via the Start bar (services.msc). Locate SQL Server in the list of services and select 'Restart' from the context menu. It is very important you restart the DB server, otherwise the Sitecore installation will fail later on!
Hopefully, this will be of help to others. I may expand on this post in due course, but wish to again express my sincere thanks to the writers of the above blogs, video tutorials and thread contributors.
Comments