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.

How To Deploy Hybris On Internet Environment

  • Buy a server

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

How To Deploy Hybris On Internet Environment

 

  • Dns domain to server

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

How To Deploy Hybris On Internet Environment

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
    How To Deploy Hybris On Internet Environment
  • Run stand install step for receip
    How To Deploy Hybris On Internet Environment

Now you can visit the website by ip.

 

Get a ssl certificate for domain

We get a ssl certificate at www.getssl.com

 

 

How To Deploy Hybris On Internet Environment

Chose tomcat certificat and download a jks format certificat.

How To Deploy Hybris On Internet Environment

 

Set configuration parameters on server

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

How To Deploy Hybris On Internet Environment

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

New NetWeaver Information at SAP.com

Very Helpfull

User Rating: Be the first one !