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 Commerce Cloud (Hybris). Marc is a SAP Commerce Certified Professional and has held the role of SAP Commerce Cloud Architect at Deloitte, PwC, Brillio (a Bain Company), and Nasty Gal. 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: mraygoza@hybrisarchitect.com

You may also like...

Popular Posts