Red Hat 8

Red Hat 8 Installation

The JSLEE is provided by the package n2jslee, which deploys the JSLEE core server and requires on Java. The JSLEE is built to run with Java 11 (or later).

By default the JSLEE runs as the user n2daemon:daemon and its root directory is /opt/nsquared.

N-Squared Yum Package Repository

N-Squared provides a RPM repository that is used to provide a number of dependencies that otherwise are not available through standard channels (particularly the N-Squared proprietary packages).

In order to use this repository, set up the N-Squared RHEL yum repository by creating a record for it in the file:

vi /etc/yum.repos.d/nsquared.repo

Add the following content to the file with access credentials that are provided by N-Squared:

[nsquared]
gpgcheck=1
enabled=1
name=N-Squared Software Releases
baseurl=https://<username>:<password>@www.nsquared.nz/rpm/rhel/8

Import the N-Squared GPG key for the RPM packages downloaded from our Yum repository

rpm -import https://nsquared.nz/RPM-GPG-KEY-nsquaredsoftware.pub

Clean all the existing repositories to update yum:

yum clean all

Update the available repositories to refresh the available package list:

yum update

Note that organisational security or operational guidelines might require our repository to be accessed through a local satellite repository, rather than direct as shown here.

Pre-Requisite Packages

The n2jslee package has no pre-requisites (other than Java).

Optional Packages

The following helper packages may be installed:

yum install htop screen tmux nano vim

Java Installation

The JSLEE requires Java 11 to be available on the system.

To enable this on Red Hat systems:

sudo yum install java-11-openjdk
sudo alternatives --install /usr/bin/java java /usr/java/latest/bin/java 1
sudo alternatives --config java

Package Installation

Once all pre-requisites are installed as described above, the n2jslee package can be installed. The latest released version of the JSLEE can be installed via yum:

sudo yum install n2jslee

Once installed, follow the post-installation tasks and then configure the JSLEE by following the configuration documentation