Check that SELinux is disabled
After the system starts again, login as root and check the SELinux status:
- sestatus
which should show
SELinux status: disabled
Disable automatic Rocky Updates
The reason to disable the updates is that we don't want any unpredictable changes in the system which might stop or restart it or cause an incompatibility with Icareus Playout software.
Change to the OS configuration folder:
- cd operating-system-configuration-6.1.0.1-el9
and do:
- bash disable-automatic-updates.sh
- systemctl disable --now dnf-makecache.timer
- systemctl list-timers | grep dnf
- # if above shows dnf timers:
- systemctl disable --now dnf-automatic.timer
- systemctl disable --now dnf-automatic-install.timer
- bash install-epel-release.sh
Enable useful services for logging, NTP and SNMP
When you run these, if the terminal says something like lines 1-22/22 (END), press the q button on your keyboard to proceed.
- bash enable-logging.sh
- bash enable-ntp.sh
- bash enable-snmp.sh
- bash install-development-tools.sh
Install postgresql database
- bash install-postgresql.sh
- # The below ones are for slony, see below.
- # Enable code ready builder.
- dnf config-manager --set-enabled crb
- # If the above does not work do:
- subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms
- dnf install postgresql-server-devel --allowerasing -y
Install Xerces XML parser
- bash install-needed-packages-and-useful-tools.sh
Install some compatibility packages
We need some legacy packages for now, this requirement will be removed in a future version.
- dnf install chkconfig initscripts
Optionally install libreoffice
If your Icareus Playout server will be used for EPG and input files are in MS Excel format, install libreoffice.
- bash install-libreoffice.sh
Remove tracker-miners
- bash remove-tracker-miners.sh
The Time zone can be selected during OS installation with GUI. If it is incorrect it's possible to correct it.
Check current time configuration.
Find available time zones.
- timedatectl list-timezones
For example if you're based in Finland, use the time zone Europe/Helsinki.
- timedatectl set-timezone Europe/Helsinki
The command date shows the current server date and time and the time zone abbreviation.
- date
Optionally set host name
Its useful to set a host name, unless you already did that during installation. For example if you want to name your server playout-main:
- hostnamectl set-hostname playout-main
Opening a new terminal window will display the prompt with the new hostname, in this case:
Install packages provided by Icareus
This section assumes you have the software distribution folder and have unzipped the zip files, see above.
Install Node.js
Install Node.js using the following commands:
- cd nodejs-6.1.0.1
- bash install-node.sh
This installs node-v12, needed by Playout Webconsole and node-v22, needed by Playout API.
The script outputs some filenames followed by Please login again to activate Node.js.
You can just start a new bash shell in the same terminal and check the node version.
- bash
- node -v
The output should be
- v12.22.12
Node will be in our bash command PATH for all new terminals you open.
Install Slony
Slony is used to replicate the Playout database from one server to another. Install Slony using the following commands:
- cd redundancy-6.1.0.1-el9/slony1-2.2.6
- # Works if postgresql-server-devel is installed, see above.
- ./configure && make && make install
Optionally install DekTec drivers
DekTec drivers are needed if Playout is going to use a DekTec ASI or IP card for transport stream (TS) output.
If only UDP / IP data output is going to be used over standard interfaces it is not necessary to install DekTec drivers.