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

  1. Dowload the Sitecore 9.1 initial release  Sitecore 9.1

  2. Scroll to Download options for On Premises deployment and Download the Packages for XP Single

  3. Create the New Folder D:\SC9.1 and place the installation file in the folder

  4. Download the Solr 7.2.1 from link and unzip the archive to “D:\SC9.1”

  5. Download NSSM from the link and place in the folder D:\SC9.1

  6. To setup Solr as service open NSSM in Command Prompt as administrator

  7. Enter the following command in command prompt cd "D:\SC9.1\nssm-2.24\nssm-2.24\win64"

  8. nssm.exe install SOLR721

  9. Refer the below screenshot and fill the appropriate path and Port number  Nssm Installer

  10. Once the installation is done close the Command Prompt and then Open services.msc

  11. Check the SOLR721 and click on start

  12. Verify your solr from browsing with the appropriate url http://localhost:8985/solr/
    Solr installtion

  13. Enable SSL for SOLR (Self Signed Certificate)

  14. Open a command prompt as an administrator and navigate to: D:\SC9.1\solr-7.2.1\solr-7.2.1\server\etc

  15. 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


  16. Check if solr-ssl.keystore.jks file is created in ‘etc’ folder

  17. 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


  18. 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

  19. This will open a window. Choose Local Machine for Store Location and Click Next and Enter the password as secret

  20. 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
    Certificates

  21. 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


  22. 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


  23. Enter the password as secret
    PasswordOpen Services.msc and restart the solr service and Check if SOLR is running on browser with URL https://localhost:8985/solr

  24. 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


  25. Execute the following Command
    Install-Module -Name SitecoreInstallFramework -RequiredVersion 2.0.0


  26. Execute the following command to Check wheather SIF version 2.0.0 is installed
    Get-Module SitecoreInstallFramework –ListAvailable


https://xchangesitecore.com/sitecore-9-1-installation-guide/ Vikash Raaj

Comments

Popular posts from this blog

Razl for Sitecore

Sitecore Rocks web Service 403 Forbidden error

Multi Single Line Text Custom Field Plugin