Friday, March 2, 2012

How to install Kaltura CE V4.0 on Centos

Install the required packages



Add 2 repos

## Remi Dependency on CentOS and Red Hat (RHEL)

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm

rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm



yum install httpd php php-cli curl php-gd mysql-server mysql php-mysql php-xml

yum install php-devel zlib-devel

Install Memcached package:

yum install memcached

yum –enablerepo=remi install memcached

# Set Memcached to start automatically on boot

chkconfig memcached on

# Start Memcached

/etc/init.d/memcached start

## OR ##

service memcached start

Install teh php modules

yum install php php-pecl-memcache

yum install php php-pecl-memcached

================

Verify that the following settings within the php.ini file

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

/etc/php.ini and the / searched for variables_order as I had php 5.2 and set time zone "Asia/calcutta" if ur usinh php5.3

===============

Add this to /etc/my.cnf, ensure it in the mysqld section.

lower_case_table_names=1

thread_stack=262144

open_files_limit=20000

Then restart mysql

service mysqld restart

=======

install the pentaho data integration package

mkdir /usr/local/pentaho

cd /usr/local/pentaho

wget http://sourceforge.net/projects/pentaho/files/Data%20Integration/3.2.0-stable/pdi-ce-3.2.0-stable.tar.gz/download

tar xvfz pdi-ce-3.2.0-stable.tar.gz -C /usr/local/pentaho

mv data-integration pdi

==========

Disable SELinux (if installed)

vi /etc/sysconfig/selinux

SELINUX=disabled

===

Get Kaltura

cd /usr/src/

register in http://www.kaltura.org/ and wget community edition kaltura.v4

=====

Now run the install.php and following the instructions.

apachectl path

php path

mysql user ;- root

mysql password ;- root password/blank

Once installation has completed follow the final instructions of adding your host to the /etc/hosts file and updating your httpd.conf to include kaltura config.

You need to create start scripts for the search daemon and batch manager, so

cd /etc/init.d/
ln -s /opt/kaltura/app/scripts/searchd.sh kaltura-searchd
ln -s /opt/kaltura/app/scripts/serviceBatchMgr.sh kaltura-serviceBatchMgr


should start these proceess
=================================================

Configure Canvas

In a web browser, go to http://kalturadev.example.com/start/

    Click on Admin Console (right image) and log in.
    Click Add New Publisher sub-tab under Publishers tab and add the new user.
    On Publisher Management page, select Manage in the Action dropdown menu for the new Publisher. This will log you in to the management console as that publisher.
    Click the Settings tab at the top.
    Click the Integration Settings sub-tab.

Copy the two IDs and Secret keys to the canvas/config/kaltura.yml file settings as follows:

Partner ID => partner_id
Sub Partner ID => subpartner_id
Administrator Secret => secret_key
User Secret => user_secret_key

    Click on Studio tab.

Select one of these players or add a new one, and copy the ID number for it to the canvas/config/kaltura.yml file for the player_ui_conf and upload_ui_conf values (I was told upload_ui_conf doesn’t matter yet, so not sure what should go here).

To get the kcw_ui_conf value, you need to log into the mysql db on the kaltura server:

> mysql -u root -p
mysql> use kaltura;
mysql> select * from ui_conf where obj_type=2;

Pick one of these (such as “default KCW for KMC”) and copy the “id” number to canvas/config/kaltura.yml for the kcw_ui_conf value.

Set the remaining canvas/config/kaltura.yml settings while here:

domain: kaltura server url (no http://)
resource_domain: same as above

Restart Canvas Apache and Canvas_init.

No comments:

Post a Comment