Installing KalturaCE 5 on Ubuntu 12.04 LTS

Kaltura CE can be installted on Cent-OS and Ubunto, but different distributions cause different issues. IF you ever wanted to install Kaltura on Ubuntu 12.04, some issues might arise.

Luckily for you we have done this several times and mapped the major issues, and how to bypass them.
To install Kaltura, take the next few simple steps and you’re good to go.

  1. Pre-installation
    1. Install packages:
      sudo apt-get install apache2 php5 php5-cli mysql-server mysql-client
      curl libcurl3 libcurl3-dev  memcached php5-curl php5-gd php5-memcache
      php5-mysql php-apc php5-xsl php5-imap libssh2-php imagemagick rsync default-jre
      php5-mcrypt exif ftp php-services-json spl-core php-xml-serializer
      ia32-libs lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386
    2. Modify /etc/php/apache2/php.ini and /etc/php/cli/php.ini:
      set request_order = “CGP”
    3. Enable apache modules
      A2enmod rewrite headers expires filter deflate file_cache env proxy
    4. Edit /etc/mysql/my.cnf:
      Change thread_stack = 262144
      And add the following lines under [mysqld] lower_case_table_names = 1
      open_files_limit = 20000
    5. Restart mySQL:
      /etc/init.d/mysql restart
    6. Restart apache:
      /etc/init.d/apache2 restart
      1. Install Pentaho:
        Create the /usr/local/pentaho/ directory:
        mkdir /usr/local/pentaho/ && cd /usr/local/pentaho/
      2. 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/download
      3. Extract the pentaho data-integration package.
        tar xvfz pdi-ce-3.2.0-stable.tar.gz -C /usr/local/pentaho
      4. Rename the data-integration root directory into pdi.
        mv data-integration pdi
  • Installation
  1. Check out your copy using
    svn checkout http://www.kaltura.org/kalorg/kalturaCE
  2. Extract the Kaltura CE package to anywhere on your server
    tar -zxvf CE-V5.0.0.-XXX.tgz
  3. Change to root user and type
    php install.php
  • Post – Installation
  1. Open your Apache configuration file for editing add the following line
    Include {YOUR_KALTURA_BASE_ DIR}/app/configurations/apache/my_kaltura.conf
  2. Change /etc/hosts first line to:
    127.0.0.1       kalturadev.example.com      localhost
  3. Restart Apache.

Fell free to leave  a comment below or share any other issues you might encounter during the installation.
Good Luck, you’ll need it!