Sitecore 9.1 Installation Guide.
Sitecore 9.1 Installation Guide.
Sitecore 9.1 Installation Guide-OnPremesis
Follow the below instruction for sitecore 9.1 OnPremesis installation
Follow the below instruction for sitecore 9.1 OnPremesis installation
- Dowload the Sitecore 9.1 initial release Sitecore 9.1
- Scroll to Download options for On Premises deployment and Download the Packages for XP Single
- Create the New Folder D:\SC9.1 and place the installation file in the folder
- Download the Solr 7.2.1 from link and unzip the archive to “D:\SC9.1”
- Download NSSM from the link and place in the folder D:\SC9.1
- To setup Solr as service open NSSM in Command Prompt as administrator
- Enter the following command in command prompt cd "D:\SC9.1\nssm-2.24\nssm-2.24\win64"
- nssm.exe install SOLR721
- Refer the below screenshot and fill the appropriate path and Port number
- Once the installation is done close the Command Prompt and then Open services.msc
- Check the SOLR721 and click on start
- Verify your solr from browsing with the appropriate url http://localhost:8985/solr/
- Enable SSL for SOLR (Self Signed Certificate)
- Open a command prompt as an administrator and navigate to: D:\SC9.1\solr-7.2.1\solr-7.2.1\server\etc
- Execute the following command :
"C:\Program Files\Java\jre1.8.0_171\bin\keytool.exe" -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass secret -storepass secret -validity 9999 -keystore solr-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
- Check if solr-ssl.keystore.jks file is created in ‘etc’ folder
- Execute the following command
"C:\Program Files\Java\jre1.8.0_171\bin\keytool.exe" -importkeystore -srckeystore solr-ssl.keystore.jks -destkeystore solr-ssl.keystore.p12 -srcstoretype jks -deststoretype pkcs12
- Import(double click) generated certificate file solr-ssl.keystore.p12 that was created in the D:\SC9.1\solr-7.2.1\solr-7.2.1\server\etc directory
- This will open a window. Choose Local Machine for Store Location and Click Next and Enter the password as secret
- In the Certificate Store choose Place all Certificate in follwing and Store and Click on browse and select Trusted Root Certificate Authorities and click Finish
- Update the D:\SC9.1\solr-7.2.1\solr-7.2.1\bin\solr.in.cmd file by pasting the following code block at the end of the file.
set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks
set SOLR_SSL_KEY_STORE_PASSWORD=secret
set SOLR_SSL_KEY_STORE_TYPE=JKS
set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks
set SOLR_SSL_TRUST_STORE_PASSWORD=secret
set SOLR_SSL_TRUST_STORE_TYPE=JKS
set SOLR_SSL_NEED_CLIENT_AUTH=false
set SOLR_SSL_WANT_CLIENT_AUTH=false
- Add following Lines to D:\SC9.1\solr-7.2.1\solr-7.2.1\bin\solr.in.sh
SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks
SOLR_SSL_KEY_STORE_PASSWORD=secret
SOLR_SSL_KEY_STORE_TYPE=JKS
SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks
SOLR_SSL_TRUST_STORE_PASSWORD=secret
SOLR_SSL_TRUST_STORE_TYPE=JKS
SOLR_SSL_NEED_CLIENT_AUTH=false
SOLR_SSL_WANT_CLIENT_AUTH=false
- Enter the password as secret
Open Services.msc and restart the solr service and Check if SOLR is running on browser with URL https://localhost:8985/solr - Open the Powershell in administrator mode and Execute the following command
Register-PSRepository -Name SitecoreGallery -SourceLocation https://sitecore.myget.org/F/sc-powershell/api/v2 -InstallationPolicy Trusted
- Execute the following Command
Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.0.0
- Execute the following command to Check wheather SIF version 2.0.0 is installed
Get-Module SitecoreInstallFramework –ListAvailable
Comments
Post a Comment