Skip to main content

RHEL - Red Hat Enterprise Linux

UCS is supported on RHEL version 8.x, x86_64 architecture. To install, follow these steps:

Installation

  1. Download Boot iso and start the installation. Install the server without a graphical interface, in the Base Environment section select Minimal Install.

  2. Register RHEL, add repositories and install UCS:

warning

UCS requires postgresql 13 or higher to run, so insoft-repo-rhel8 turns on the postgresql 13 module.

#!/bin/bash

timedatectl set-timezone Europe/Prague
dnf install postfix

subscription-manager register --auto-attach
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf -y install https://repo.insoft.cz/yum/rhel/8/stable/insoft-repo-rhel8/insoft-repo-rhel8-1.0.0-0.x86_64.rpm
dnf repolist
dnf update
dnf install insoft-ucs

RHEL has a firewall enabled by default, so it is necessary to allow access to the services provided by UCS:

#!/bin/bash

firewall-cmd --permanent --new-service=rtp
firewall-cmd --permanent --service=rtp --set-description="RTP audio and video streams plus STUN/ICE support"
firewall-cmd --permanent --service=rtp --set-short="RTP+STUN"
firewall-cmd --permanent --service=rtp --add-port=10000-20000/udp
firewall-cmd --permanent --service=rtp --add-port=3478/udp
firewall-cmd --permanent --zone=public --add-service=rtp
firewall-cmd --permanent --zone=public --add-service=sip
firewall-cmd --permanent --zone=public --add-service=http
firewall-cmd --permanent --zone=public --add-service=https
firewall-cmd --reload

UCS version lock

If a regular OS update is required, however, the UCS should be updated only on demand, then it is possible to lock the installed version of UCS:

One-time installation of version locking support:

dnf -y install python3-dnf-plugin-versionlock

To lock the currently installed version of UCS:

dnf versionlock 'insoft-*'
dnf versionlock 'ucs-*'

Unlock for UCS update:

dnf versionlock clear

Checking which packages are locked:

dnf versionlock list

Example updates:

# After initial UCS installation, entered:
dnf versionlock 'insoft-*'
dnf versionlock 'ucs-*'

Update only system packages:

dnf versionlock 'insoft-*'
dnf versionlock 'ucs-*'
dnf update

Updating INSOFT and UCS packages (including system packages) and re-locking them:

dnf versionlock clear
dnf update
dnf versionlock 'insoft-*'
dnf versionlock 'ucs-*'
info

By default, RedHad has a 48-hour repository cache. If you want to install a version that is not yet listed, type dnf clean expire-cache or dnf update --refresh.

Continue: First Settings