How Do You Install the Hybris Commerce Suite License?

This is a quick tutorial that describes how to install the Hybris Commerce Suite License. This article also assumes you have the SAP Hybris license information in your possession.

  1. Open the command prompt
  2. Go to your Hybris config directory:
     cd <HYBRIS_HOME_DIR>/config
  3. Create a new file in this directory. The filename you choose doesn't matter. For example, you could create a file called SAPHybrisLicense.txt
     vi SAPHybrisLicense.txt
  4. Once the vi editor is displayed, copy and paste the Hybris license you received from the SAP License Management portal. The license will resemble the following:
    ----- Begin SAP License -----
     SAPSYSTEM=PRD
     HARDWARE-KEY=XXXXXXXX
     INSTNO=XXXXXXX
     BEGIN=XXXXXXX
     EXPIRATION=XXXXXXX
     LKEY=XXXXXXXSWPRODUCTNAME=CPS_MYS
     SWPRODUCTLIMIT=XXXXXXX
     SYSTEM-NR=XXXXXXX
  5.  Save the file
  6. Change directories to the Hybris Platform directory.
     cd ${HYBRIS_HOME}/bin/platform
  7. Since the SYPSYSTEM attribute is not the default CPS setting, update the local.properties file with the PRD setting
    # System ID license.sap.sapsystem=PRD
  8. To install the license perform the following command:
     Linux/Mac: ./license.sh -install ${HYBRIS_HOME}/config/SAPHybrisLicense.txt
     Windows: license.bat -install ${HYBRIS_HOME}/config/SAPHybrisLicense.txt
  9. If the installation is successful, you will receive the following confirmation message:
    1 SAP license key(s) successfully installed.
  10. Tutorial is complete

Marc Raygoza

Marc is the Founder of HybrisArchitect.com.
He enjoys helping others learn more about SAP Hybris Commerce. Marc is a SAP Commerce Certified Professional and has held the role of Hybris Architect at Deloitte, PWC, Exemplis and Nasty Gal. He is a long-time Java/Spring developer. Marc holds an M.S. Software Engineering from Carnegie Mellon University and a B.S. in Accountancy from California State University, Fresno. He can be reached at: info@hybrisarchitect.com

You may also like...

Popular Posts

Leave a Reply

Your email address will not be published. Required fields are marked *