Kaltura/Installation/CentOS

From r00tedvw.com wiki
Jump to: navigation, search

Installation - Ubuntu | Installation - CentOS

Contents

Source

https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-redhat-based.md#ssl-step-by-step-installation

Hardware Requirements

As of version: Kajam-11.7.0:

  • 2Ghz Processor (Dual-Core)
  • 1GB of RAM
  • 5GB HDD for Kaltura installation (not counting space for videos)
  • 64bit CentOS

Start

Before you start, switch to root. Kaltura expects that all installation instructions are performed as root.

~/home/user$sudo -s

Setup Sudo group

I personally like the way Ubuntu manages sudo rights through a group. Follow the below to replicate that.

[email protected]~$ sudo visudo
[add the lines below:]
## Allows members of the 'sudo' group to run any commands anywhere
%sudo ALL=(ALL)         ALL
[email protected]~$ sudo groupadd sudo
[email protected]~$ getent group sudo
sudo:x:1002:
[email protected]~$ sudo usermod -a -G sudo helpdesk
[email protected]~$ getent group sudo
sudo:x:1002:helpdesk

Update CentOS

[email protected]~$ sudo yum update -y

Install DNS utilities

[email protected]~$ sudo yum install -y bind-utils

Disable SELinux (required)

[email protected]~$ sudo setenforce permissive
[email protected]~$ sudo vi /etc/selinux/config
[change value]
SELINUX=enforcing > SELINUX=permissive

Setup Kaltura RPM repo

[email protected]~$ rpm -ihv http://installrepo.kaltura.org/releases/kaltura-release.noarch.rpm
[email protected]~$ rpm -ihv https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

edit: /etc/yum.repos.d/kaltura.repo
[email protected]~$ vi /etc/yum.repos.d/kaltura.repo
under [Kaltura]
change: baseurl = http://installrepo.kaltura.org/releases/latest/RPMS/$basearch/
to: baseurl = http://installrepo.kaltura.org/releases/rhel7/RPMS/$basearch/

[email protected]~$ yum update -y
[email protected]~$ yum cleann all

Setup MariaDB

[email protected]~$ yum install -y mariadb-server
[email protected]~$ service mariadb start
[email protected]~$ mysql_secure_installation

Below is a sample question answer format, replace the input marked by <> with your own details:

Enter current password for root (enter for none): <ENTER>
Set root password? [Y/n]: <y>
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
[email protected]~$ chkconfig mariadb on

Postfix

A local instance is needed to be able to send mail, generally the default install should be sufficient.
restart the Postfix service to make sure it can run.

[email protected]~$ service postfix restart

Install Kaltura Server

[email protected]~$ yum update -y
[email protected]~$ yum clean all
[email protected]~$ yum update -y "*kaltura*"
[email protected]~$ yum install -y kaltura-server

Configure DB with required Kaltura Settings

[email protected]~$ /opt/kaltura/bin/kaltura-mysql-settings.sh

Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Oracle Linux
AWS
Windows
OpenVPN
Grafana
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
2020 Election
Volkswagen
Toolbox