Red Hat 10

Redhat 10 Installation

Introduction

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

RHEL Subscriptions

The following RHEL subscriptions are required to be present on the installation server:

To determine the current subscription, run:

dnf repolist

This will list the current attached repositories, for example:

Updating Subscription Management repositories.
repo id                                   repo name
codeready-builder-for-rhel-10-x86_64-rpms Red Hat CodeReady Linux Builder for RHEL 10 x86_64 (RPMs)
epel                                      Extra Packages for Enterprise Linux 10 - x86_64
rhel-10-for-x86_64-appstream-rpms         Red Hat Enterprise Linux 10 for x86_64 - AppStream (RPMs)
rhel-10-for-x86_64-baseos-rpms            Red Hat Enterprise Linux 10 for x86_64 - BaseOS (RPMs)

It is likely, by default, that both appstream and baseos repositories are enabled. To enable codeready if it is not listed, run:

subscription-manager repos --enable codeready-builder-for-rhel-10-x86_64-rpms

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

dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-10.noarch.rpm

N-Squared RPM 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 RPM 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://artefacts.nsquared.nz/yum/repo/nsquared/rhel10/release/x86_64/
username=
password=

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

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

Clean all the existing repositories to update dnf:

dnf clean all

Update the available repositories to refresh the available package list:

dnf 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:

dnf install epel-release lksctp-tools net-snmp-libs net-snmp

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

Package Installation

N2LUA

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

dnf install n2lua

Note however this will be automatically installed due to dependency checking on n2svcd regardless.

N2SVCD

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

dnf install n2svcd

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