Wednesday, November 08, 2017

Mediation Zone 7.3 Installation Guide

Virtualbox - UBUNTU SERVER

-Storage disk - 10GB
-Boot from ubuntu iso file
-Install Ubuntu 16.04

Network Configurations
NAT - Advance - Port Forwarding
127.0.0.1--447--10.0.2.15--22
127.0.0.1--6790--10.0.2.15--6790
127.0.0.1--6791--10.0.2.15--6791

--
Putty connect to 127.0.0.1 port 447
Id: mzadmin Pwd: xx
==

Create User
# useradd -m -g sudo -c "MZ Admin" mzadmin
# passwd mzadmin
passwd: xx

Install JAVA - JRE, JDK
# apt-get install default-jre
# apt-get install default-jdk

# ln -s /usr/lib/jvm/java-1.8.0-openjdk-amd64 /opt/java

# mkdir /opt/mz
chown mzadmin:mzadmin /opt/mz

# mkdir /opt/3pp
chown mzadmin:mzadmin /opt/3pp

==
# vi /home/mzadmin/.bashrc
# To set environment home
export MZ_HOME=/opt/mz
export JAVA_HOME=/opt/java
export PATH=$JAVA_HOME/bin:$MZ_HOME/bin:$PATH

Download oracle jdbc & save to /opt/3pp/
# ls -l /opt/3pp/ojdbc6.jar


INSTALL MZ SERVER PLATFORM

>require 2GB disk space
>extract MZ73 installation to /home/mzadmin/installer/

$ su - mzadmin
$ cd /home/mzadmin/installer/MZ73

$ ./setup.sh prepare
Follow installation instructions (doc/installation.pdf) to configure install.xml for your environment
When done, execute ./setup.sh create

$ vi install.xml
<property name="install.security" value="true"/>
<property name="mz.home" value="/opt/mz"/>
<property name="mz.container" value="mz73"/>
<property name="pico.rcp.platform.host" value="10.0.2.15"/>
<property name="pico.rcp.server.host" value="10.0.2.15"/>

$ ./setup.sh create
Follow installation instructions (doc/installation.pdf) to configure install.xml for your environment
When done, execute ./setup.sh install
BUILD SUCCESSFUL
Total time: 19.751 secs

$ ./setup.sh install
Administrator password: xxx

$ mzsh status
$ mzsh startup platform

**NOTE: /opt/mz need to be empty, no installer files or any files**

INSTALL MZ CLIENT

Install Java JRE in Windows computer/laptop

Run from command line
> java -jar desktop-installer*.jar

MZ8 or MZ7 Client Launcher Ports Issue
Issue: Unable to correctly launch MZ8 client from my laptop. Success if run from linux desktop gui in the server. Also caused by firewalld need to be stop/disabled.
Cause: Conflict with existing MZ7.4 ports installation in Virtualbox.
Solution:
Virtualbox, port forward default ports 9000,6790,6791 to 9002, 6795, 6796.
Fwd port SSH default 22 to 448.
Connect using 127.0.0.1 + new port number

*NOTE: Issue found to be also caused by firewalld on Centos/RHEL 7*
# systemctl stop firewalld
# systemctl disable firewalld

DISABLE HYPER-V VIRTUALIZATION
-in windows 10, need to disable/remove tick in Add/Remove Windows Features - Hyper V




0 Comments:

Post a Comment

<< Home