This page demonstrate How To Install Sterling in Linux 8 (RHEL / CentOS)..
Installation of Sterling Commerce is difficult task. This steps help you
on installation.
To install containerized Sterling commerce, you need to install
following softwares.
Docker:
Docker Compose:
Developer Tool Kit (DTK)
Docker Installation
- Changed current user to root user:
Commands:
sudo su
- change the mirror-list in all yum.repos.d files. Replace the
base url with vault.centos.org
Commands:
- cd /etc/yum.repos.d/
- sed -i 's/mirrorlist/#mirrorlist/g'
/etc/yum.repos.d/CentOS-*
- sed -i
's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g'
/etc/yum.repos.d/CentOS-*
- dnf distro-sync
- Steps to install docker CE(Community Edition) on RHEL 8 Server
Commands:
- cd /
- dnf config-manager
--add-repo=https://download.docker.com/linux/centos/docker-ce.repo
- dnf list docker-ce
- dnf install docker-ce --nobest -y
- systemctl enable docker
- systemctl start docker
- docker --version
Docker Compose Installation:
- To install Docker Compose, Pleae use following steps:
Command and Steps:
- sudo curl -L
"https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname
-s)-$(uname -m)" -o /usr/local/bin/docker-compose
- sudo chmod +x /usr/local/bin/docker-compose
- /usr/local/bin/docker-compose --version
- Restart the system.
Developer Tool Kit(DTK):
- Create oms folder in root directory:
Command:
- mkdir oms
- chmod 777 oms
- copy developer tool kit jar:
Command:
- cp ./devtoolkit_docker.tar /oms/
- cd /oms
- unzip developer tool kit tar:
Command:
- tar -xvf devtoolkit_docker.tar && chmod +x
devtoolkit_docker/compose/*.sh
- cd devtoolkit_docker/compose
- create a link to docker-compose:
Command:
- sudo ln -s /usr/local/bin/docker-compose
/usr/bin/docker-compose
- Install:
Command:
- ./om-compose.sh setup
- Accept License Agreement:
Command:
- Read the prompt messages and press enter key (multiple
times) to accept it. it will take 2 hrs
- At the end you need to type "accept"
Login To Console:
- Open IE browser and type following urls:
URLs:
- https://localhost:9443/smcfs/console/login.jsp
- https://localhost:9443/wsc/store/login.do
- https://localhost:9443/isccs/isccs/login.do?
- https://localhost:9443/smcfs/yfshttpdbi/sterlingdbqueryclient.jsp
- https://localhost:9443/smcfs/yfshttpapi/yantrahttpapitester.jsp
- https://localhost:9443/sbc/sbc/login.do
- https://localhost:9443/sma/sma/console/login.jsp
Note: Here just high level steps are given.
You need to follow product installation guideline .
|
Customization:
How to enable logging for your custom java classes:
Create a log4jconfig.xml file and put in deltalog4jconfig folder under
resources directory under global (global > resources > deltalog4j
).
This log4jconfig.xml should contain information about your custom java
packages.
<?xml version="1.0" encoding="UTF-8"?>
<log4jconfigdelta>
<category additivity="false" class="
Full class name(including package name) of yfc log category
" name="com.easy">
<level class="
Full class name(including package name) class name of yfc log
level
" value="DEBUG"/>
<appender-ref ref="CONSOLE"/>
<appender-ref ref="ALL"/>
</category>
</log4jconfigdelta> -
View
Product Documentation For Log4J Configuration
User Comments:
Thanks for installation guide! It helped me lot!
Reply;
Thanks Jyoti for using easycodeforall!