sakai and kaltura integration

5 replies [Last post]
Joined: 09/27/2011
Points: 13

Hello,all

I have intalled sakai on my host. I want to integrate kaltura to sakai , and installed kaltura on ubunatu 10.04 in another server successfully.

These are the installation process:
root@ubuntu:/home/aiwen/kalturaCE_v3.0.0# sudo php install.php
Thank you for installing Kaltura Video Platform - Community Edition

A previous installation attempt has been detected, do you want to use the input you provided during you last installation? (Y/n)
> n

In order to improve Kaltura Community Edition, we would like your permission to send system data to Kaltura.
This information will be used exclusively for improving our software and our service quality. I agree (Y/n)
> n

Please provide the following information:

The following apachectl script has been detected: /usr/sbin/apache2ctl. Do you want to use this script to run your Kaltura application? Leave empty to use or provide a pathname to an alternative apachectl script on your server.
>

The following PHP binary has been detected: /usr/bin/php. Do you want to use this script to run your Kaltura application? Leave empty to use or provide a pathname to an alternative PHP binary on your server.
>

Full target directory path for Kaltura application (leave empty for /opt/kaltura)
>

Please enter the domain name/virtual hostname that will be used for the Kaltura server (without http://)
> videokaltura.com

Your primary system administrator email address
> aiwenlg007@163.com

The password you want to set for your primary administrator
> 2012

Database host (leave empty for 'localhost')
>

Database port (leave empty for '3306')
>

Database username (with create & write privileges)
> root

Database password (leave empty for no password)
> 2012

The URL to your xymon/hobbit monitoring location. Xymon is an optional installation. Leave empty to set manually later
Examples:
http://www.xymondomain.com/xymon/
http://www.xymondomain.com/hobbit/
>

Verifing prerequisites

Checking for leftovers from a previous installation

Installation is now ready to begin. Start installation now? (Y/n)
> y

Copying application files to /opt/kaltura
Copying binaries for linux 32bit
Replacing configuration tokens in files
Changing permissions of directories and files
Creating and initializing 'kaltura' database
Creating and initializing 'kaltura_stats' database
Creating data warehouse
Creating system symbolic links
Deploying uiconfs in order to configure the application
Creating the uninstaller
Running the sphinx search deamon
Populating sphinx entries
Running the batch manager
sh: /usr/sbin/sendmail: not found
Sent post installation settings email to aiwenlg007@163.com

Installation Completed Successfully.
Your Kaltura Admin Console credentials:
System Admin user: aiwenlg007@163.com
System Admin password: 2012

Please keep this information for future use.

To start using Kaltura, please complete the following steps:
1. Add the following line to your /etc/hosts file:
127.0.0.1 videokaltura.com
2. Add the following line to your Apache configurations file (Usually called httpd.conf or apache2.conf):
Include /opt/kaltura/app/configurations/apache/my_kaltura.conf
3. Restart apache
4. Browse to your Kaltura start page at: http://videokaltura.com/start

I visited http://videokaltura.com/start successfully.

And I configed the sakai.properities

################################ below are the kaltura's configurations

kaltura.enabled=true
## your kaltura account partner id
kaltura.partnerid=99
## your kaltura account admin secret key
kaltura.adminsecret=a5c1cb2c9bcd66b825db68533c3ec792
## your kaltura account secret key
kaltura.secret=8e81fdce8808cbf71b8dc6c8ee258842
## your kaltura server URL (Use https if your sakai server uses SSL)
kaltura.endpoint=http://videokaltura.com
## your kaltura CDN URL (Use https if your sakai server uses SSL)
kaltura.cdn=videokaltura.com

But when i clicked the Gallery Media ,the page is blank. And the problem is like this:
http://permalink.gmane.org/gmane.comp.cms.sakai.devel/39566

But when I config

The page is ok.

Anyone can help me ???

Joined: 09/27/2011
Points: 13

When i use http://www.kaltura.com/index.php/kmc/kmc4#account|integration as the cdn ,secret ..., the page displays ok.

Joined: 09/27/2011
Points: 13
Joined: 10/25/2011
Points: 3

What are the "kaltura account partner id", "kaltura account admin secret key", "account secret key"? Can anybody tell me what different's between "admin secret key" and "secret key"? Maybe, one of parameters is missing?

Joined: 02/22/2009
Points: 97

aiwenlg007_2,

If the first and the second images here represent setting the sakai against the on-prem and the SaaS respectively, then I would assume you have troubles connecting from your sakai server to your Kaltura server.

Setting the correct line in hosts file, on the sakai server, might solve the issue.
like:
192.168.xxx.xxx videokaltura.com

As for the CDN - if you don’t have CDN setup in your CE, just put the same URL (http://videokaltura.com) as the CDN host. Note that it should also include the 'http://' prefix.

palkiviad,
Kaltura account partner id - the ID of your Kaltura account (either on www.kaltura.com or your CE)

The difference between "admin secret key" and "secret key" is that:

  • the first lets you create a strong session (i.e. admin KS) against the Kaltura API
  • the second lets you create a weak session (i.e. user KS) against the Kaltura API .

Hope that helps.

Gonen.

Joined: 10/25/2011
Points: 3

Gonen - thanks a lot!