我们本地安装的用于开发目的的Hybris Commerce实例,默认的license只有30天有效期,过了之后需要用ant initialize重新build,以前的数据会丢掉,很不方便。
INFO [localhost-startStop-14] [Licence] This Hybris licence is only for demo or develop usage and is valid for 30 days.
INFO [localhost-startStop-14] [Licence] After this time you have to reinitialize database to continue your work.
INFO [localhost-startStop-14] [Licence] Remaining days ====> 24
本文介绍一种免费的申请开发license的方法,可以免去每隔30天重装Hybris的麻烦。
参考这个SAP support note:
launchpad.support.sap.com/#/notes/213…
打开SAP License keys应用:
launchpad.support.sap.com/#/licenseke…
点击Add New System按钮:
Product选择SAP Commerce:
Version就选择自己Hybris的实际版本号。
新建系统,作为开发用户,数据库选择成默认的hyper structured query language database:
最后点击Add License Key:
Hardware key:Y4989890650
点击Generate按钮:
成功生成license ke之后,点击download下载到本地,保存成一个txt文件:
这个txt文件打开长这样,中间是一段base64 encode之后的值:
使用命令行./license.sh -install CPS.txt进行安装:
license.sh -delete则可以删除license:
安装完毕后,到Hybris Administration console里能观察到这个license:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":