Red Hat OS
Red Hat Installation
Some additional steps are required prior to N2CUG component installation on Red Hat systems and other RPM-based platforms.
Some steps apply regardless of the OS version, and some are applied specifically just for Red Hat 7 or just for Red Hat 8. Apply the appropriate instructions as required.
All Red Hat Versions
Subscription Manager Refresh
Ensure subscription manager is enabled and refreshed:
sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto
N-Squared Yum Package Repository
N-Squared provides an RPM repository that is used to provide a number of dependencies that are otherwise not available through standard channels (particularly the N-Squared proprietary packages).
Access to this repository is password-protected. Please contact N-Squared if such access is required for your installation.
Once access is given, add the N-Squared repository to the repositories queried, updating the username
, password
, and
url
placeholder values to those provided by N-Squared:
sudo cat <<EOF > /etc/yum.repos.d/nsquared.repo
[nsquared]
gpgcheck=1
enabled=1
name=N-Squared Software Releases
baseurl=https://username:password@url
EOF
Add the N-Squared public key to enable package signature checking:
sudo rpm --import https://nsquared.nz/RPM-GPG-KEY-nsquaredsoftware.pub
Finally, clean all existing repositories and update the repository information:
sudo yum clean all
sudo yum update
Note that organisational security or operational guidelines may require this repository to be accessed through a local satellite repository, rather than directly as shown here. In such cases please consult with your IT infrastructure team.
Red Hat 7
Subscribe to the additional third-party required repositories:
sudo subscription-manager repos --enable rhel-7-server-extras-rpms
sudo subscription-manager repos --enable rhel-7-server-optional-rpms
sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms
Add the Red Hat EPEL repository:
sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Enable the base repository:
yum groupinstall base
Clear cache and update existing packages:
sudo yum clean all
sudo yum update
Red Hat 8
Subscribe to the additional third-party required repositories:
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
sudo subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms
sudo subscription-manager repos --enable rhel-8-for-x86_64-baseos-rpms
Add the Red Hat EPEL repository:
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Clear cache and update existing packages:
sudo dnf clean all
sudo dnf update