@jess
It would really be nice to see your notes on the Install of Kaltura on Centos 8 step-by-step as there are a few points that need to be clarified vs Centos/RHEL 6/7. I know that stability is the priority over bleeding edge dependencies, but why are PHP 7.2 and MySQL 5.5 requirements?
I was able to gain some success using the updates your’ve posted and I am indeed very appreciative of all your hard work.
Here are the steps I followed after slightly modifying the Official Guide
Kaltura Install on Centos 8
Set SELinux to permissive mode - REQUIRED
Currently Kaltura doesn’t properly support running with SELinux in enforcing mode, things will break if you don’t set it to permissive.
setenforce permissive
To verify SELinux will not revert to enabled next restart:
1. Edit the file /etc/selinux/config
2. Verify or change the value of SELINUX to permissive: SELINUX=permissive
3. Save the file /etc/selinux/config
Setup the Kaltura RPM repository
Additional repos
Before proceeding with the deployment process, please ensure that the EPEL repos are enabled.
Enabling the EPEL repo
To add the EPEL repo:
(Question: Why is the official guide only prescribing epel-release-latest-7.noarch.rpm? As later RPM Fusion 8, told me EPEL 8 is required and I had EPEL 7 for a previos attempt?)
Enabling the Remi repos
I had no success in getting remi-php72 to work with Centos 8, so I used remi-7.4 using the instructions at: https://blog.remirepo.net/post/2019/12/03/Install-PHP-7.4-on-CentOS-RHEL-or-Fedora
The kaltura-nginx package depends on certain packages from the main Remi repo.
CentOS version 8.0
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
php module usage
With Fedora modular and RHEL / CentOS 8, you can simply use the remi-7.4 stream of the php module
dnf module reset php
dnf module install php:remi-7.4
Enabling the PowerTools repos
For CentOS/RHEL 8, it is also necessary to enable the PowerTools repos:
dnf config-manager --set-enabled PowerTools
Enabling the RPM Fusion repos
For CentOS/RHEL 8, it is also necessary to enable the Fusion repos:
(as stated above RPM Fusion 8, told me EPEL 8 is required)
MySQL Install and Configuration
(This portion is the most confusing and frustrating segment of the install for me. I had no success in getting Percona 5.5 install on Centos 8, and only found binaries or repositories for 5.7 or later … I didn’t want to go through the headache of compiling from sources )
Kaltura CE does not currently support MySQL 5.6 and above. Please be sure to deploy MySQL 5.5. If your distro’s repos do not provide a suitable version (the CentOS/RHEL 8 repos have a higher version), we recommend the Percona project. See: https://github.com/percona/percona-server/tree/5.5 And, in particular: https://github.com/percona/percona-server/blob/5.5/build-ps/build-rpm.sh How to do this?
Instead I tried the following but then got conflicts with MySQL
RHEL/CentOS 8 setup:
yum install mariadb-server
service mariadb start
mysql_secure_installation
chkconfig mariadb on
**Make sure to answer YES for all steps in the mysql_secure_install install, and follow through all the mysql install questions before continuing further. Failing to properly run mysql_secure_install will cause the kaltura mysql user to run without proper permissions to access your mysql DB, and require you to start over again.
Mail Server (MTA) Install and Configuration
If your machine doesn’t have postfix email configured before the Kaltura install, you will not receive emails from the install system nor publisher account activation mails. If postfix runs without further configuration starting it is sufficient to make Kaltura work.
RHEL/CentOS 8 setup:
yum install postfix
service postfix start
chkconfig postfix on
service postfix restart
Ensure Repositories Are Up To Date before running the Kaltura CE Server
yum update
Non-SSL Step-by-step Installation
Before you can deploy your Kaltura CE Server, you need to perform some preliminary actions such as adding the Kaltura RPM repos, setting SELinux to persmissive mode and deploying MySQL. Please see pre-install steps.
Install the basic Kaltura Packages:
yum clean all
yum install kaltura-server
yum install kaltura-server
CentOS-8 - AppStream 778 kB/s | 5.8 MB 00:07
CentOS-8 - Base 577 kB/s | 2.2 MB 00:03
CentOS-8 - Extras 4.4 kB/s | 7.3 kB 00:01
CentOS-8 - PowerTools 509 kB/s | 1.9 MB 00:03
Extra Packages for Enterprise Linux Modular 8 - x86_64 50 kB/s | 82 kB 00:01
Extra Packages for Enterprise Linux 8 - x86_64 806 kB/s | 7.5 MB 00:09
Kaltura Server 75 kB/s | 125 kB 00:01
Kaltura Server arch independent 292 kB/s | 539 kB 00:01
Remi’s Modular repository for Enterprise Linux 8 - x86_64 187 kB/s | 576 kB 00:03
Safe Remi’s RPM repository for Enterprise Linux 8 - x86_64 524 kB/s | 1.5 MB 00:02
RPM Fusion for EL 8 - Free - Updates 140 kB/s | 262 kB 00:01
Error:
Problem: problem with installed package mariadb-3:10.3.17-1.module_el8.1.0+257+48736ea6.x86_64
- package mariadb-3:10.3.17-1.module_el8.1.0+257+48736ea6.x86_64 conflicts with mysql provided by mysql-8.0.17-3.module_el8.0.0+181+899d6349.x86_64
- package mysql-8.0.17-3.module_el8.0.0+181+899d6349.x86_64 conflicts with mariadb provided by mariadb-3:10.3.17-1.module_el8.1.0+257+48736ea6.x86_64
- package kaltura-base-16.5.0-15.noarch requires mysql, but none of the providers can be installed
- package kaltura-elasticsearch-1.0.0-7.noarch requires kaltura-base, but none of the providers can be installed
- package kaltura-server-16.5.0-1.noarch requires kaltura-elasticsearch, but none of the providers can be installed
- conflicting requests
- nothing provides elasticsearch >= 6.0.0 needed by kaltura-elasticsearch-1.0.0-4.noarch
- nothing provides elasticsearch >= 6.0.0 needed by kaltura-elasticsearch-1.0.0-1.noarch
- nothing provides elasticsearch >= 6.0.0 needed by kaltura-elasticsearch-1.0.0-2.noarch
- nothing provides elasticsearch >= 6.0.0 needed by kaltura-elasticsearch-1.0.0-5.noarch
(try to add ‘–allowerasing’ to command line to replace conflicting packages or ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)
*Trying again allowing removal of MariaDB, Installed 228 Packages including the entire Kaltura Cluster and removed the 5 MariaDB Packages, replacing them with MySQL 8.0.17-3 versions #interesting
*
Also tried disabling MYSQL module during one attempt with
dnf module disable mysql
yum install kaltura-server --allowerasing
Last metadata expiration check: 0:00:36 ago on Mon 10 Aug 2020 12:01:26 AM AST.
Dependencies resolved.
2.7
Transaction Summary
Install 228 Packages
Remove 5 Packages
Total download size: 879 M
Is this ok [y/N]:
#############################################################
Installation of kaltura-sphinx 2.2.1 completed
Please run
/opt/kaltura/bin/kaltura-sphinx-config.sh [/path/to/answer/file]
To finalize the setup.
###################################################################################
Installation of kaltura-front 16.5.0 completed
Please run
/opt/kaltura/bin/kaltura-front-config.sh [/path/to/answer/file]
To finalize the setup.
###################################################################################
Installation of kaltura-batch 16.5.0 completed
Please run:
/opt/kaltura/bin/kaltura-batch-config.sh [/path/to/answer/file]
To finalize the setup.
#####################################################################################################################################
Installed:
ImageMagick-6.9.10.86-1.el8.x86_64 ImageMagick-libs-6.9.10.86-1.el8.x86_64 LibRaw-0.19.5-1.el8.x86_64
OpenEXR-libs-2.2.0-11.el8.x86_64 adobe-mappings-cmap-20171205-3.el8.noarch adobe-mappings-cmap-deprecated-20171205-3.el8.noarch
adobe-mappings-pdf-20180407-1.el8.noarch alsa-lib-1.2.1.2-3.el8.x86_64 apr-1.6.3-9.el8.x86_64
apr-util-1.6.1-6.el8.x86_64 apr-util-bdb-1.6.1-6.el8.x86_64 apr-util-openssl-1.6.1-6.el8.x86_64
at-3.1.20-11.el8.x86_64 atk-2.28.1-1.el8.x86_64 avahi-libs-0.7-19.el8.x86_64
bc-1.07.1-5.el8.x86_64 binutils-2.30-73.el8.x86_64 cairo-1.15.12-3.el8.x86_64
centos-logos-httpd-80.5-2.el8.noarch copy-jdk-configs-3.7-1.el8.noarch cups-client-1:2.2.6-33.el8.x86_64
cups-libs-1:2.2.6-33.el8.x86_64 ed-1.14.2-4.el8.x86_64 emacs-filesystem-1:26.1-5.el8.noarch
fftw-libs-double-3.3.5-11.el8.x86_64 flac-libs-1.3.2-9.el8.x86_64 fontconfig-2.13.1-3.el8.x86_64
fontpackages-filesystem-1.44-22.el8.noarch fribidi-1.0.4-8.el8.x86_64 gd-2.2.5-6.el8.x86_64
gdk-pixbuf2-2.36.12-5.el8.x86_64 gdk-pixbuf2-modules-2.36.12-5.el8.x86_64 giflib-5.1.4-3.el8.x86_64
google-droid-sans-fonts-20120715-13.el8.noarch graphite2-1.3.10-10.el8.x86_64 graphviz-2.40.1-40.el8.x86_64
gsm-1.0.17-5.el8.x86_64 gtk-update-icon-cache-3.22.30-5.el8.x86_64 gtk2-2.24.32-4.el8.x86_64
harfbuzz-1.7.5-3.el8.x86_64 hicolor-icon-theme-0.17-2.el8.noarch httpd-2.4.37-21.module_el8.2.0+382+15b0afa8.x86_64
httpd-tools-2.4.37-21.module_el8.2.0+382+15b0afa8.x86_64 ilmbase-2.2.0-11.el8.x86_64 jasper-libs-2.0.14-4.el8.x86_64
java-1.8.0-openjdk-1:1.8.0.262.b10-0.el8_2.x86_64 java-1.8.0-openjdk-headless-1:1.8.0.262.b10-0.el8_2.x86_64 javapackages-filesystem-5.3.0-1.module_el8.0.0+11+5b8c10bd.noarch
jbig2dec-libs-0.14-4.el8_2.x86_64 jbigkit-libs-2.1-14.el8.x86_64 kaltura-a52dec-0.7.4-11.x86_64
kaltura-base-16.5.0-15.noarch kaltura-batch-16.5.0-1.noarch kaltura-clipapp-1:1.3-2.noarch
kaltura-dwh-15.1.0-1.noarch kaltura-elasticsearch-1.0.0-7.noarch kaltura-ffmpeg-4.0.2-1.x86_64
kaltura-ffmpeg-aux-3.4.6-3.x86_64 kaltura-flexwrapper-v1.2-1.noarch kaltura-front-16.5.0-1.noarch
kaltura-html5-analytics-v0.3-2.noarch kaltura-html5-studio-v2.2.1-1.noarch kaltura-html5-studio3-v3.5.0-1.noarch
kaltura-html5lib-v2.83-1.noarch kaltura-html5lib3-0.54.0-2.noarch kaltura-kclip-v1.1.2.1-2.noarch
kaltura-kcw-1.0.0-6.noarch kaltura-kdp-v2.7.0-1.noarch kaltura-kdp3-1:v3.9.9-2.noarch
kaltura-kdp3wrapper-v37.0-1.noarch kaltura-kdpwrapper-v11.0-1.noarch kaltura-kmc-v5.43.13-124.noarch
kaltura-kmcng-1:v5.17.0-1.noarch kaltura-krecord-1.0.0-1.noarch kaltura-kupload-1:v1.2.16-2.noarch
kaltura-lame-3.99.5-3.x86_64 kaltura-libmediainfo-0.7.61-10.x86_64 kaltura-libopencore-amr-0.1.3-1.x86_64
kaltura-libvpx-1.8.2-1.x86_64 kaltura-live-analytics-front-v2.7.3-2.noarch kaltura-mediainfo-0.7.61-9.x86_64
kaltura-monit-5.25.3-1.x86_64 kaltura-nginx-1:1.17.10-2.x86_64 kaltura-pentaho-4.2.1-2.x86_64
kaltura-playkit-bundler-1.2.0-13.noarch kaltura-postinst-1.0.33-109.noarch kaltura-server-16.5.0-1.noarch
kaltura-sphinx-2.2.1-23.x86_64 kaltura-sshpass-1.06-1.x86_64 kaltura-widgets-1.0.0-9.noarch
lcms2-2.9-2.el8.x86_64 libICE-1.0.9-15.el8.x86_64 libSM-1.2.3-1.el8.x86_64
libX11-1.6.8-3.el8.x86_64 libX11-common-1.6.8-3.el8.noarch libX11-xcb-1.6.8-3.el8.x86_64
libXau-1.0.8-13.el8.x86_64 libXaw-1.0.13-10.el8.x86_64 libXcomposite-0.4.4-14.el8.x86_64
libXcursor-1.1.15-3.el8.x86_64 libXdamage-1.1.4-14.el8.x86_64 libXext-1.3.3-9.el8.x86_64
libXfixes-5.0.3-7.el8.x86_64 libXft-2.3.2-10.el8.x86_64 libXi-1.7.9-7.el8.x86_64
libXinerama-1.1.4-1.el8.x86_64 libXmu-1.1.2-12.el8.x86_64 libXpm-3.5.12-8.el8.x86_64
libXrandr-1.5.1-7.el8.x86_64 libXrender-0.9.10-7.el8.x86_64 libXt-1.1.5-12.el8.x86_64
libXtst-1.2.3-7.el8.x86_64 libXxf86misc-1.0.4-1.el8.x86_64 libXxf86vm-1.1.4-9.el8.x86_64
libao-1.2.0-10.el8.x86_64 libass-0.14.0-4.el8.x86_64 libasyncns-0.8-14.el8.x86_64
libdatrie-0.2.9-7.el8.x86_64 libfontenc-1.1.3-8.el8.x86_64 libgs-9.25-5.el8_1.1.x86_64
libid3tag-0.15.1b-30.el8.x86_64 libidn-1.34-5.el8.x86_64 libijs-0.35-5.el8.x86_64
libjpeg-turbo-1.5.3-10.el8.x86_64 libmad-0.15.1b-25.el8.x86_64 libmcpp-2.7.2-20.el8.x86_64
libogg-2:1.3.2-10.el8.x86_64 libpaper-1.1.24-22.el8.x86_64 libpkgconf-1.4.2-1.el8.x86_64
libraqm-0.7.0-4.el8.x86_64 librdkafka-0.11.4-1.el8.x86_64 librsvg2-2.42.7-3.el8.x86_64
libsndfile-1.0.28-10.el8.x86_64 libsodium-1.0.18-2.el8.x86_64 libthai-0.1.27-2.el8.x86_64
libtheora-1:1.1.1-21.el8.x86_64 libtiff-4.0.9-17.el8.x86_64 libvdpau-1.1.1-7.el8.x86_64
libvorbis-1:1.3.6-2.el8.x86_64 libwebp-1.0.0-1.el8.x86_64 libwmf-lite-0.2.9-8.el8_0.x86_64
libxcb-1.13.1-1.el8.x86_64 libxvidcore4-1.3.7-1.x86_64 libzen-0.4.38-1.el8.x86_64
lksctp-tools-1.0.18-3.el8.x86_64 lua-5.3.4-11.el8.x86_64 m4-1.4.18-7.el8.x86_64
mailcap-2.1.48-3.el8.noarch mailx-12.5-29.el8.x86_64 make-1:4.2.1-10.el8.x86_64
mcpp-2.7.2-20.el8.x86_64 memcached-1.5.9-3.el8.x86_64 mod_http2-1.11.3-3.module_el8.2.0+307+4d18d695.x86_64
mod_ssl-1:2.4.37-21.module_el8.2.0+382+15b0afa8.x86_64 mysql-8.0.17-3.module_el8.0.0+181+899d6349.x86_64 mysql-common-8.0.17-3.module_el8.0.0+181+899d6349.x86_64
mysql-libs-8.0.17-3.module_el8.0.0+181+899d6349.x86_64 ncurses-compat-libs-6.1-7.20180224.el8.x86_64 nodejs-1:10.21.0-3.module_el8.2.0+391+8da3adc6.x86_64
nodejs-full-i18n-1:10.21.0-3.module_el8.2.0+391+8da3adc6.x86_64 npm-1:6.14.4-1.10.21.0.3.module_el8.2.0+391+8da3adc6.x86_64 nspr-4.25.0-2.el8_2.x86_64
nss-3.44.0-15.el8.x86_64 nss-softokn-3.44.0-15.el8.x86_64 nss-softokn-freebl-3.44.0-15.el8.x86_64
nss-sysinit-3.44.0-15.el8.x86_64 nss-util-3.44.0-15.el8.x86_64 openjpeg2-2.3.1-6.el8.x86_64
opus-1.3-0.4.beta.el8.x86_64 opusfile-0.11-3.el8.x86_64 pango-1.42.4-6.el8.x86_64
patch-2.7.6-11.el8.x86_64 php-7.4.9-1.el8.remi.x86_64 php-gd-7.4.9-1.el8.remi.x86_64
php-gmp-7.4.9-1.el8.remi.x86_64 php-ldap-7.4.9-1.el8.remi.x86_64 php-mysqlnd-7.4.9-1.el8.remi.x86_64
php-opcache-7.4.9-1.el8.remi.x86_64 php-pdo-7.4.9-1.el8.remi.x86_64 php-pecl-apcu-5.1.18-1.el8.remi.7.4.x86_64
php-pecl-apcu-bc-1.0.5-3.el8.remi.7.4.x86_64 php-pecl-memcache-4.0.5.2-1.el8.remi.7.4.x86_64 php-process-7.4.9-1.el8.remi.x86_64
php-sodium-7.4.9-1.el8.remi.x86_64 pixman-0.38.4-1.el8.x86_64 pkgconf-1.4.2-1.el8.x86_64
pkgconf-m4-1.4.2-1.el8.noarch pkgconf-pkg-config-1.4.2-1.el8.x86_64 pulseaudio-libs-11.1-23.el8.x86_64
python2-2.7.17-1.module_el8.2.0+381+9a5b3c3b.x86_64 python2-libs-2.7.17-1.module_el8.2.0+381+9a5b3c3b.x86_64 python2-pip-9.0.3-16.module_el8.2.0+381+9a5b3c3b.noarch
python2-pip-wheel-9.0.3-16.module_el8.2.0+381+9a5b3c3b.noarch python2-setuptools-39.0.1-11.module_el8.2.0+381+9a5b3c3b.noarch python2-setuptools-wheel-39.0.1-11.module_el8.2.0+381+9a5b3c3b.noarch
redhat-lsb-core-4.1-47.el8.x86_64 redhat-lsb-submod-security-4.1-47.el8.x86_64 rsync-3.1.3-7.el8.x86_64
sox-14.4.2.0-29.el8.x86_64 spax-1.5.3-13.el8.x86_64 speex-1.2.0-1.el8.x86_64
sscg-2.3.3-14.el8.x86_64 time-1.9-3.el8.x86_64 ttmkfdir-3.0.9-54.el8.x86_64
tzdata-java-2020a-1.el8.noarch unzip-6.0-43.el8.x86_64 urw-base35-bookman-fonts-20170801-10.el8.noarch
urw-base35-c059-fonts-20170801-10.el8.noarch urw-base35-d050000l-fonts-20170801-10.el8.noarch urw-base35-fonts-20170801-10.el8.noarch
urw-base35-fonts-common-20170801-10.el8.noarch urw-base35-gothic-fonts-20170801-10.el8.noarch urw-base35-nimbus-mono-ps-fonts-20170801-10.el8.noarch
urw-base35-nimbus-roman-fonts-20170801-10.el8.noarch urw-base35-nimbus-sans-fonts-20170801-10.el8.noarch urw-base35-p052-fonts-20170801-10.el8.noarch
urw-base35-standard-symbols-ps-fonts-20170801-10.el8.noarch urw-base35-z003-fonts-20170801-10.el8.noarch util-linux-user-2.32.1-22.el8.x86_64
wavpack-5.1.0-15.el8.x86_64 wget-1.19.5-8.el8_1.1.x86_64 x264-0.157-12.20190717git34c06d1.el8.x86_64
x264-libs-0.157-12.20190717git34c06d1.el8.x86_64 x265-libs-3.1.2-1.el8.x86_64 xorg-x11-font-utils-1:7.5-40.el8.x86_64
xorg-x11-fonts-ISO8859-1-100dpi-7.5-19.el8.noarch xorg-x11-fonts-Type1-7.5-19.el8.noarch xorg-x11-server-utils-7.7-27.el8.x86_64
Removed:
mariadb-3:10.3.17-1.module_el8.1.0+257+48736ea6.x86_64 mariadb-backup-3:10.3.17-1.module_el8.1.0+257+48736ea6.x86_64 mariadb-gssapi-server-3:10.3.17-1.module_el8.1.0+257+48736ea6.x86_64
mariadb-server-3:10.3.17-1.module_el8.1.0+257+48736ea6.x86_64 mariadb-server-utils-3:10.3.17-1.module_el8.1.0+257+48736ea6.x86_64
Complete!