Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel

Table of Contents

...

  • Linux CentOS or RedHat Ent version 6 or 7
  • The following packages should be installed:
    • wget
    • rar
    • rsync
    • At least 16 GB memory
    • At least 100GB of disk space allocated to /opt directory
    • At least 10GB of disk space allocated to /install directory
Note
titlepla

Note that as of this writing the CRM.COM version is 10.1.

 

Installation process

The following section includes a step by step guide to complete the application server installation.

...

Use the following commands to install the required Linux packages:

Code Block
themeRDark
languagetext
 $ sudo yum install -y wget
Code Block
themeRDark
languagetext
$ sudo yum install -y rsync
Code Block
themeRDark
languagepowershelltext
$ sudo wget http://repository.it4i.cz/mirrors/repoforge/redhat/el6/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
$ sudo rpm -i rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
$ sudo yum install -y rar
$ sudo yum install -y unrar

...

Code Block
themeRDark
languagepowershelltext
$ sudo vi /etc/security/limits.conf

...

Code Block
themeRDark
languagepowershelltext
wildfly     soft nofile 20000
wildfly     hard nofile 20000
wildfly     soft nproc unlimited
wildfly     hard nproc unlimited

...

CRM.COM will provide an archive file that includes all necessary installation files to complete the installation. Extract the contents of the archive into the /install directory as described below:

Code Block
themeRDark
languagetext
$ cd /install
$ tar zxf crm_r10_rhel6_7_wildfly_10.tar.gz

...

First extract the java archive into /opt directory:

Code Block
themeRDark
languagetext
$ cd /opt
$ sudo tar zxf /install/java/jdk-8u72-linux-x64.tar.gz
$ cd /opt/jdk1.8.0_72/
$ sudo alternatives --install /usr/bin/java java /opt/jdk1.8.0_72/bin/java 2

...

Code Block
themeRDark
languagepowershelltext
 $ sudo alternatives --config java

and make sure that java jdk1.8.0_72 is selected as in the example below:

Code Block
themeRDark
languagetext
 There are 2 programs which provide 'java'.
  Selection    Command
-----------------------------------------------
*+ 1           /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre/bin/java
   2           /opt/jdk1.8.0_72/bin/java

Enter to keep the current selection[+], or type selection number: 2

...

Code Block
themeRDark
languagepowershelltext
$ sudo alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_72/bin/jar 2
$ sudo alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_72/bin/javac 2
$ sudo alternatives --set jar /opt/jdk1.8.0_72/bin/jar
$ sudo alternatives --set javac /opt/jdk1.8.0_72/bin/javac

...

Code Block
themeRDark
languagepowershelltext
$ java -version
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)
$

...

Code Block
themeRDark
languagepowershelltext
$ cd /install/bin
$ sudo ./install.sh

...

Code Block
themeRDark
languagepowershelltext
$ sudo /opt/wildfly/bin/add-user.sh -s -u admin -p "<new password>"

...

Code Block
themeRDark
languagepowershelltext
 $ sudo vi /opt/wildfly/bin/standalone.conf

Locate the line:

Code Block
themeRDark
languagetext
JAVA_OPTS="-Xms2g -Xmx6g -XX:MetaspaceSize=6g -XX:MaxMetaspaceSize=9g -Djava.net.preferIPv4Stack=true" 

...

where MPID should be the lower case value of the field MPID in table MASTERPARTNERS that exists in the ecenter schema. For example, if the MPID value is ‘ORG1’ then the JNDI name should be java:/org1

 

 

 

Install CRM.COM

...

Now that Wildfly is installed and configured, the next step is to install the CRM.COM application.  Before installing CRM.COM application make sure that you locate the EAR file and possible the custom rar file in the following directory: /install/crm.com/YYYY-MM-DD

...

Code Block
themeRDark
languagepowershelltext
 $ ll /install/crm.com/2016-10-19
-rw-r--r--. 1 root root 143155773 Oct 18 18:21 Crm_10.1.0(201610181820WFL).ear
-rw-r--r--. 1 root root    583511 Oct 19 12:59 org1_10.1.0(78606).rar
$

...

 

 

Post installation tasks

...

If you require to connect to third party secure sites like for example CA systems, usually there is a need to trust the SSL certificates of the third party site. The following steps are required to put the certificate in the java trust store:

...

Code Block
themeRDark
languagepowershelltext
 $ ll /install/cert
-rw-r--r--. 1 root root 1678 Oct 22 10:47 omi.verimatrix.com.crt

...

Code Block
themeRDark
languagepowershelltext
$ sudo /opt/jdk1.8.0_72/bin/keytool -import -alias omi.verimatrix.com -file /install/cert/omi.verimatrix.com.crt -keystore /opt/jdk1.8.0_72/jre/lib/security/cacerts

...

Code Block
themeRDark
languagepowershelltext
$ sudo /opt/jdk1.8.0_72/bin/keytool -list -keystore /opt/jdk1.8.0_72/jre/lib/security/cacerts

...

Code Block
themeRDark
languagepowershelltext
 $ stopwildfly
 $ startwildfly

...