Installation of Sitecore 9 is different from the previous versions and has a different architecture. This article describes the installation of Sitecore 9.0 rev. 171002 (Initial Release) for the local/development environment. All installation is via Powershell.
To install, you will need:
- Powershell 5.0 and higher
- MSSQL 2017 + Management Studio – developer edition – https://www.microsoft.com/en-us/sql-server/sql-server-downloads
- SOLR version 6.6.1 – http://archive.apache.org/dist/lucene/solr/6.6.1/
- JAVA JDK
- Open SSL
- https://dev.sitecore.net/Downloads/Sitecore_Experience_Platform/90/….aspx
- Installation Guide
- Packages for XP Single – On premises deployment
Installing Sitecore Install Framework
- Open Powershell as admin
- Command: Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2
- Command: Install-Module SitecoreInstallFramework
- Check command: Get-Module SitecoreInstallFramework -ListAvailable
DB settings (MSSQL 2017)
- Install MSSQL 2017 + Management studio
- Open MSSQL Management Studio 2017, log in as ‘sa’ and enter query:
sp_configure ‘contained database authentication’, 1;
GO
RECONFIGURE;
GO
Installing SOLR
- Installation instructions: https://lucene.apache.org/solr/guide/6_6/installing-solr.html
- Setting up SSL, installation instructions: https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html, vyžaduje instalaci JAVA JDK, OpenSSL (https://sourceforge.net/projects/openssl/), I recommend to install JAVA JDK, OpenSSL and use instructions: https://gist.github.com/kamsar/c3c8322c1ec40eac64c7dd546e5124de
- Verify https://localhost:8983/solr if it is a trusted certificate
- Set up SOLR as a service (you can use the NSSM tool to do it https://sitecore.stackexchange.com/questions/1211/how-to-get-solr-to-run-as-a-service – WIN32)
Installing Sitecore
- Download files from dev.sitecore.net (json files are in WDP XP0 packages):
- Create the install.ps1 file according to the Installation Guide in section 5.2.1
- If you see error: Update-SCWebDeployPackage – The SQL provider cannot run because of a missing dependency. Please make sure that Microsoft SQL Server Transact-SQL ScriptDom is installed or similar, use this bug fix: https://kb.sitecore.net/articles/019579 and put the path to dll in the registers.
Next steps after installation
The next steps after installation are described in the Installation Guide in section 6.1.