Red Hat 7

Redhat 7 Installation


Please check that the assumptions and requirements documented in the installation overview have been suitably completed.

RHEL Subscriptions

Enable the Extra Packages for Enterprise Linux (EPEL) repository:

dnf install

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 n2svcd package itself).

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:

name=N-Squared Software Releases

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

rpm -import

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 n2svcd package has a number of pre-requisites.

Install core packages:

yum install epel-release lua lksctp-tools \
rsyslog nano rsync rsyslog-snmp net-snmp-libs \
policycoreutils-python sysstat

Note the usage of epel-release; this core package acts as yum repository extension package that allows access to additional Perl packages that would otherwise require manual installation.

Install core Perl packages:

yum install \
    perl-DBI \
    perl-JSON \
    perl-Time-HiRes \
    perl-Test-Differences \
    perl-Module-Load \
    perl-List-MoreUtils \
    perl-Object-MultiType \
    perl-ExtUtils-MakeMaker \
    perl-Error \
    perl-XML-Smart \
    perl-Carp-Always \
    perl-TimeDate \
    perl-HTTP-Message \
    perl-TermReadKey \
    perl-Sys-Syslog \
    perl-Digest-SHA \
    perl-Crypt-Eksblowfish \
    perl-IO-Socket-SSL \
    perl-Exporter-Tiny \
    perl-CGI \
    perl-CGI-Session \
    perl-HTTP-Cookies \
    perl-MIME-Types \
    perl-LDAP \
    perl-Text-CSV \
    perl-XML-LibXML \
    perl-LWP-Protocol-https \
    perl-String-Random \
    perl-URI-Encode \
    perl-DateTime \

Install the N-Squared provided Perl packages which n2svcd requires:

yum install \
    perl-Sub-Quote-2.005000-1.of.el7.noarch \
    perl-IO-Socket-IP-0.38-1.of.el7.noarch \
    perl-IO-Socket-INET6-2.72-1.of.el7.noarch \
    perl-Type-Tiny-XS-0.012-1.of.el7.x86_64 \
    perl-Module-Runtime-0.014-1.of.el7.noarch \
    perl-Role-Tiny-2.000006-1.of.el7.noarch \
    perl-strictures-2.000001-1.of.el7.noarch \
    perl-Moo-2.003004-1.of.el7.noarch \
    perl-PBKDF2-Tiny-0.005-1.of.el7.noarch \
    perl-String-Compare-ConstantTime-0.311-1.of.el7.x86_64 \
    perl-Unicode-Stringprep-1.104-1.of.el7.noarch \
    perl-Authen-SASL-SASLprep-1.011-1.of.el7.noarch \
    perl-Type-Tiny-1.000005-1.of.el7.noarch \
    perl-Authen-SCRAM-0.005-1.of.el7.noarch \
    perl-boolean-0.45-1.of.el7.noarch \
    perl-BSON-1.4.0-1.of.el7.noarch \

Package Installation


N-Squared provides a customised Lua package for N2SVCD. Install this:

yum install n2lua


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

yum install n2svcd

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