CRM and CX Blogs by SAP
Stay up-to-date on the latest developments and product news about intelligent customer experience and CRM technologies through blog posts from SAP experts.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
2,567

Purpose


As a developer, we are always deploy hybris at local environment, this time our team need to do a test with Wechat. So we need deloy our hybris environment on internat . I recode the whole process at here, hope it will help other people.

Overview



  • Buy a domain, Buy a server, and binding it together.

  • Install Java environment on server

  • Install hybris on server

  • Get a ssl certificate for domain

  • Set configuration parameters on server


Buy a domain and a server, then binding them together



  • Buy a domain


We buy a domain at tencent service. It will help us to get ICP certificate.



  • Buy a server


For insure connect with wechat without problem. We chose tencent cloud server. We chose 2 core cpu and 8GB Memory.



 

  • Dns domain to server


Asign domain to server,after that our domain is avaliable.


Install Java environment on server


When setup server at tencent cloud, we chose ubuntu 14 whitout java envirment.

Install jdk

  1. sudo add-apt-repository ppa:webupd8team/java

  2. sudo apt-get update

  3. sudo apt-get install oracle-java8-installer

  4. sudo apt-get install oracle-java8-set-default


Config JAVA_HOME for linux
vi /etc/profile

JAVA_HOME=/usr/lib/jvm/java-8-oracle PATH=$JAVA_HOME/bin:$PATH CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

source /etc/profile

 

Install hybris on server



  • Update load commerce-suite to server and unzip

  • Run stand install step for receip


Now you can visit the website by ip.

 

Get a ssl certificate for domain


We get a ssl certificate at www.getssl.com

 

 



Chose tomcat certificat and download a jks format certificat.



 

Set configuration parameters on server


Config server.xml for tomcat, modify port and setup keystorefile which we get it before.



Config local.properties for hybris parameters. After that you can start your server and You can access the site by domain name.
1 Comment