Dependencies
This steps are not needed if SKOOR is installed from the SKOOR Offline Repository. Instead it is advised to disable existing repositories entirely.
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/*.repo
AlmaLinux 8 / RockyLinux 8
If the SKOOR software is installed on AlmaLinux 8 or RockyLinux 8 systems, the EPEL (for smem, used by the SKOOR Engine Agent) and rpmfusion (for ffmpeg) need to be added:
dnf install epel-release.noarch rpmfusion-free-release.noarch firewalld chrony
systemctl restart firewalld && systemctl enable firewalld systemctl restart chronyd && systemctl enable chronyd
AlmaLinux 9 / RockyLinux 9
If the SKOOR software is installed on AlmaLinux 9 or RockyLinux 9 systems, the EPEL (for smem, used by the SKOOR Engine Agent) and rpmfusion (for ffmpeg) need to be added. Also crb must be enabled (for libmysql).
dnf install epel-release rpmfusion-free-release firewalld chrony dnf config-manager --enable crb
systemctl start firewalld && systemctl enable firewalld systemctl restart chronyd && systemctl enable chronyd
RHEL 8
In case the subscription-manager configuration is already in place. The following repository needs to be enabled to install SKOOR. For more details about the subscription-manager configuration please see the chapter below.
subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms
The EPEL repository needs to be installed for certain components used by the SKOOR agent (smem). Refer to the following webpage to download the latest epel-release RPM file: http://fedoraproject.org/wiki/EPEL.
Then transfer the RPM file and install it using the following command:
dnf install epel-release-latest-8.noarch.rpm
RHEL 9
In case the subscription-manager configuration is already in place. The following repository needs to be enabled to install SKOOR. For more details about the subscription-manager configuration please see the chapter below.
subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
The EPEL repository needs to be installed for certain components used by the SKOOR agent (smem). Refer to the following webpage to download the latest epel-release RPM file: http://fedoraproject.org/wiki/EPEL.
Then transfer the RPM file and install it using the following command:
dnf install epel-release-latest-9.noarch.rpm
RHEL System Subscription
Each system must be registered with its own subscription in Red Hat subscription-manager.
To be able to register a system requires a connection from the server to the internet (unless there is an RHEL Satellite setup in the LAN) and a valid subscription (contract) with Red Hat with a username and password.
subscription-manager
Subscription-manager comes pre-installed with the minimal installation.
Issue the registration (example):
subscription-manager register
Enter username and password
Username: <your_subscription_username> Password: ******* The system has been registered with ID: d7076d65-ac ...
Login to the RedHat Portal and check the registered systems on https://access.redhat.com/management/systems
At this point the system is registered, but not yet attached to a subscription. Attach to a subscription:
subscription-manager list
subscription-manager attach --auto
subscription-manager list
In the RedHat portal one should now see that the system is attached to a subscription. Systems registered with subscription-manager show up under Subscription management -> Units in Red Hat’s webportal.
Unregister subscription-manager
To detach a subscription & unregister:
subscription-manager remove --all
subscription-manager unregister
This action can also be issued in the Red Hat webportal, in case the system is already wiped.
Repositories
Now dnf can be used to its full extent. By default, only the standard Red Hat repository is available. Additionally, the following repositories are required for some of the SKOOR Engine components and must be enabled for the registered system in the Red Hat webportal or from the command line:
Red Hat 8
subscription-manager repos --enable codeready-builder-for-rhel-8-$(arch)-rpms
The EPEL repository needs to be installed for certain components used by the SKOOR agent (smem). Refer to the following webpage to download the latest epel-release RPM file: http://fedoraproject.org/wiki/EPEL.
Then transfer the RPM file and install it using the following command:
dnf install epel-release-latest-8.noarch.rpm