Table of Contents |
---|
Prerequisites
Info |
---|
The minimum recommended version of RHEL is 7 or higher |
Installation
- 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
.
- RHEL package:
To install the package on RHEL, run the following command as a root or using
sudo
(installation requires superuser permissions):Code Block language bash 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):
Code Block language bash sudo apt install ./fixedge-java_1.8.0.268_amd64.deb
The FIXEdge Java package has the following structure:
Directory Purpose /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 - Copy the license file (
fixaj2-license.bin
) to the configuration directory (/etc/fixedge-java
). 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 thefixedge-java
group.
On RHEL it can be done with the command:Info sudo usermod <user> –a –G fixedge-java
Make sure that the license file is also accessible by the
fixedge-java
group.
Running FIXEdge Service
The package provides the systemd
unit to control the FEJ service.
The service runs as a dedicated fixedge-java
user. The following commands can be used to control the service:
...
On RHEL systems, a member of the fixedge-java
group can control the service on Ubuntu using sudo
to gain root access as required. For example:
...
language | bash |
---|
...
Run FIXEdge Server
Code Block | ||
---|---|---|
| ||
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):
...