/
FIXEdge Java 1.11.0 and Later: Installation on Linux using packages

FIXEdge Java 1.11.0 and Later: Installation on Linux using packages

Prerequisites

The minimum recommended version of RHEL is 7 or higher

Installation

  1. First of all, download the FEJ distribution. The recent version of the packages is available at https://clientspace.b2bits.com/
    The packages names look like:
    • RHEL package: fixedge-java-1.8.0.268-1.el7.x86_64.rpm 
    • Debian package: fixedge-java_1.8.0.268_amd64.deb.
  2. To install the package on RHEL, run the following command as a root or using sudo (installation requires superuser permissions):

    yum install ./fixedge-java-1.8.0.268-1.el7.x86_64.rpm

    To install the package on Ubuntu, run the following command (installation requires superuser permissions):

    sudo apt install ./fixedge-java_1.8.0.268_amd64.deb
  3. The FIXEdge Java package has the following structure:

    DirectoryPurpose
    /etc/fixedge-java Configuration files
    /etc/fixedge-java/spring Custom Spring configuration, initially it is empty
    /usr/lib/fixedge-java/<VERSION> FIXEdge Java binaries 
    /usr/lib/fixedge-java/<VERSION>/sysconf Default Spring configuration
    /usr/share/doc/fixedge-java Documentation and examples
    /var/log/fixedge-java Application logs
    /var/lib/fixedge-java Application state: FIX sessions logs
  4. Copy the license file (fixaj2-license.bin) to the configuration directory (/etc/fixedge-java).
  5. The installation creates the fixedge-java group. So if it's required to get access to the logs or configuration from another user, the user should be added to the fixedge-java group.
    On RHEL it can be done with the command:

    sudo usermod <user> –a –G fixedge-java

    Make sure that the license file is also accessible by the fixedge-java group.

Run FIXEdge Server


cd /usr/bin/fixedge-java/
./FIXEdgeJ


Uninstall package

To uninstall the package on RHEL, run the following command as a root or using sudo (installation requires superuser permissions):

yum remove fixedge-java

To uninstall the package on Ubuntu, run the following command (installation requires superuser permissions):

sudo apt remove fixedge-java