Kaltura CE V3.0- Prerequisites

This guide is applicable for Kaltura CE version 3.0.x

The following prerequisites are required for installing and for running the Kaltura CE V3.0 on a Linux server

Hardware specifications

Hardware resources should be set according to expected usage estimations.
Minimum requirements:

  • 1GB RAM
  • 2 CPUs
  • Storage – according to storage needs according to expected usage estimations

Linux

It is recommended to install Kaltura CE on the latest Ubuntu or CentOS Linux installation.
See the installation notes for either Ubuntu or CentOS for more specific information.

Apache

Apache 2.2 or higher with following modules enabled:
rewrite, headers, expires, filter, deflate, file_cache, env, proxy.
To enable the modules, run the following command: sudo a2enmod and then paste the following:
rewrite headers expires filter deflate file_cache env proxy

PHP

  • PHP 5.2.x/PHP 5.3.x are supported.
  • Both php and php-cli must be present.
  • The following php extensions should be included and enabled:
    Gd, Curl, Memcache, Mysql, Mysqli, Exif, ftp, iconv, json, Session, apc (optional), spl, DOM, SimpleXML, xml, xsl, imap, ctype, ssh2 (optional, required for enabling the remote storage functionality)
  • Verify that the following settings within the php.ini file on each server (for both php and php-cli):
    • For PHP 5.3: Verify that request_order parameter includes C, G and P (recommended: "CGP")
    • For PHP 5.2: Verify that variables_order parameter in php.ini includes C, G and P
  • Please refer to a specific way for handling this prerequisite as reported in our CE forum

MySQL

  • MySQL 5.1.37 or higher
  • The following settings should be added to the my.cnf file
    lower_case_table_names = 1
    thread_stack = 262144

MySQL should be restarted after this adjustment is made

curl

Package should be installed

memcached

Package should be installed

32-bit packages required on 64-bit servers

Some of the binaries that are in use by the Kaltura Platform are available in a 32-bit compiled version only. to enable these binaries
the following packages (or equivalents per Linus Distribution) may be required on a 64-bit server:

  • Ubuntu 64-bit: ia32-libs, lib32asound2, lib32gcc1, lib32ncurses5, lib32stdc++6, lib32z1, libc6-i386
  • CentOS: glibc.i686 , ncurses-libs, zlib-1.2.x , freetype , bzip2-libs

JRE 1.6.x

Required for the video analytics module

Pentaho data integration package

The pentaho data integration package (version 3.2) is required for the analytics module. It should be downloaded and extracted to be available under the /usr/local/pentaho/pdi directory

  1. Create the /usr/local/pentaho/ directory

    mkdir /usr/local/pentaho/
  2. Change to the/usr/local/pentaho/ directory

    cd /usr/local/pentaho/
  3. Download the pentaho data-integration package

    wget http://sourceforge.net/projects/pentaho/files/Data%20Integration/3.2.0-stable/pdi-ce-3.2.0-stable.tar.gz
  4. Extract the pentaho data-integration package

    [/code]

  5. Extract the pentaho data-integration package

    tar xvfz pdi-ce-3.2.0-stable.tar.gz -C /usr/local/pentaho
     
  6. Rename the data-integration root directory into pdi

    mv data-integration pdi

Mail server

Required for managing outgoing emails as part of the kaltura platform workflow. Suggested packages: Sendmail, postfix

Xymon/Hobbit 4.2.3 (optional)

This is an open source system monitoring package required for the Kaltura admin console's out-of-the-box monitoring dashboard and alert system.

  • For installing xymon on CentOS 5.5 or RHEL 5 please refer to the installation instructions at http://www.kaltura.org/kaltura-ce-v30-installing-xymon-monitoring-package-centos-55rhel-5
  • For installing xymon on Ubuntu 10.04 please refer to the installation instructions at http://www.kaltura.org/kaltura-ce-v30-installing-xymon-monitoring-package-ubuntu-1004-0

For further information go to http://www.xymon.com

Disabled SELinux

Kaltura CE cannot run when the Security-Enhanced Linux (SELinux) feature is deployed and enabled. If the SELinux feature is deployed on your server you must disable it for being able to use Kaltura CE.
Within the /etc/sysconfig/selinux file (if exists on your server) set:
SELINUX=disabled

Domain name/virtual host name set within HOSTS file. (Can be done before/after installation)

The domain name (or virtual hostname) you use for the Kaltura CE installation should be set within the /etc/hosts file as follows:

127.0.0.1  myCEdomain.com

You are directed to make this change at the end of the installation script.
This entry is needed so that Kaltura internal API client applications (e.g. the admin console application and the kaltura batch application) can be directed to the relevant Kaltura web services according to their internal 'server url' configuration.

Comments

ia32-libs

I think the 32-bit libraries for Ubuntu are actually ia32-libs

sudo apt-get install ia32-libs

Probably just a misspelling in the install instructions

Couldn't find Package: PHP5

Hi, I am trying to setup CE on Ubuntu 10.04 64bit server edition and when trying to install additional packages i keep getting "Couldn't find package: php5-Exif" or similar message depending on the package.

I tried to get the list of extensions available on Ubuntu, but the list does not seem to include all the packages mentioned above.

Could you please help by pointing in the right direction. Thanks a lot.

P.S. you are dealing with a novice!

PHP5

try with sudo apt-get install php5

good luck

make sure that your

make sure that your /etc/apt/sources.list has all of the repositories to include universe and multiverse

Enabled...but still no luck

I un-commented all the lines related to multiverse an universe in sources.list and ran an update. but i still keep getting the same error. for example one of the package i tried to install is php5-xml and php5-SimpleXML.

Got it working

I tried it again on Ubuntu desktop version 10.04 32bit. Though i'm not sure if it would have made a huge difference between the two for testing Kaltura.

I was not able to find the packages, but once I had curl installed and check the php info page, most of the packages were listed underneath the installation. The only package I could not find was "apc". However Kaltura did not point it out at pre-installation check.

Also, for mysql, make sure you add the "lower_case_table_names" part under the basics section, else it will not work.

Also, since i tried it on 32 bit, i did not have to deal with the extra packages of 64bit.

And with xymon, I keeping getting an error when trying to click on history button. (there is a double forward slash in the url it shows) That's probably the reason for the error, but don't know how to resolve it.!

my.cnf

Im trying to add the two lines to the my.cnf file, but when i try to restart mysql it doesn't start. The file looks like this:

[mysqld]
#
# * Basic Settings
#
#------- KALTURA ------
lower_case_table_names = 1
thread_stack >= 262144

Any ideas of whats happening?? thanks in advance :)

Solved

lower_case_table_names = 1 has to be in the 'basic' section and thread_stack >= 262144 in the 'fine tunning' section.

get pentaho from sourceforge

http://sourceforge.net/projects/pentaho/files/Data%20Integration/

the link in the guide take you to the Enp Edition with 30 days trail