This guide is applicable for Kaltura CE version 2.0.x
Please follow the instructions below for setting the Kaltura CE prerequisites on a Ubuntu 10.04 server.
Change to root user
Install 32-bit packages required on a 64-bit server
If you are installing your Kaltura CE on a 64-bit server, please install the following packages to enable the 32-bit binaries in use.
Set XAMPP Configuration
-
Download and install XAMPP 1.7.1
-
Change to the opt directory (create it ,if needed)
cd /opt -
Download the XAMPP 1.7.1 for Linux package to /opt
Kaltura provides a patched version of xampp1.7.1 that already includes all of the required apache modules and php extensions (Alternatively, you can download XAMPP official 1.7.1 package for Linux and install all required modules/extensions). to download Kaltura’s patched XAMPP package.
wget http://cdnbakmi.kaltura.com/content/files/xampp-linux-1.7.1.patched.tar.gz -
Extract the downloaded XAMPP 1.7.1 for Linux package to /opt
tar xvfz xampp-linux-1.7.1.patched.tar.gz -C /opt -
Update MySQL settings.
Open the
/opt/lampp/etc/my.cnffile for editing and verify/add the following lines under the [mysqld] section with following values:lower_case_table_names = 1
thread_stack = 262144restart mysql
-
Create symbolic links to LAMPP binaries
Create symbolic links to LAMPP binaries used by Kaltura CE installation script (in case you are not allowed to override these binaries with a symbolic link, move them first to a *.original copy)
ln -s /opt/lampp/bin/mysql /usr/bin/mysql
ln -s /opt/lampp/bin/php /usr/bin/php -
Start your XAMPP
/opt/lampp/lampp startIf you already have an apache installed on your server make sure to stop it and disable its auto start on server reboo
-
Verify your XAMPP installation
From your web browser, browse to the: http://localhost/xampp/index.php page.
You should get to your local XAMPP home page
-
Set Curl
install the curl package
Set memcache
install the memcached package
Set Mail server
A mail server is needed for managing outgoing emails as part of the kaltura platform workflow. We suggest the use for the postfix mail server (select the Internet Site configuration). This is a mandatory prerequisite.
Set JRE
Java runtime environment (JRE ) is required to enable the analytics module. This is a mandatory prerequisite.
Set the Pentaho data integration package
The pentaho data integration package is required for the analytics module. It should be downloaded and extracted to be available under the /usr/local/pentaho/pdi directory
-
Create the /usr/local/pentaho/ directory
mkdir /usr/local/pentaho/
- Change to the
/usr/local/pentaho/directorycd /usr/local/pentaho/ - 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
- Extract the pentaho data-integration package
tar xvfz pdi-ce-3.2.0-stable.tar.gz -C /usr/local/pentaho
-
Rename the data-integration root directory into pdi
mv data-integration pdi
Set etl system user
-
Create the etl user
sudo useradd etl -d /home/etl -
set the etl user
cd /home/
sudo chown etl:etl etl
Disable SELinux (When needed)
Kaltura CE cannot run when the Security-Enhanced Linux (SELinux) feature is deployed and enables. To disable this feature open the /etc/sysconfig/selinux file (if exists on your server), set the following line:
and reboot your server
Installing the xymon package for system monitoring (optional)
Kaltura provides an out-of-the-box monitoring dashboard within the Administration Console, based on xymon (formerly named hobbit) open source technology. This is an optional setup, and you can install and set this configure this add-on after the installation of the Kaltura platform. Installation of the Xymon monitoring system is OS depended.
For installing Xymon on Ubuntu 10.04, please follow these instructions:
For installing Xymon on CentOs5.5, please follow these instructions:
-
Install the xymon package
apt-get install xymon -
Set xymon's virtual host
for setting Xymon’s virtual host. Open the
/opt/lampp/etc/httpd.conffile for editing and add the following line after the XAMPP includeInclude /etc/apache2/conf.d/hobbit -
Set xymon's server security (optional)
for setting Xymon server security, open the
/etc/apache2/conf.d/hobbitfile for editing and adjust the following security related lines:
Change every appearance of this line:Allow from localhost ::1/128to:
Allow from allAlternatively, you can set access to monitoring pages from your internal network only.
In addition, add the following lines (keep as 2 lines) before the last the last tagAllow from 127.0.0.1
Satisfy Any -
Reload apache
/opt/lampp/lampp reload -
Set xymon's client configuration
Edit Xymon client configuration to point to the Xymon server (with single server deployment this can be set to localhost). Open the
/etc/default/hobbit-clientfile for editing and verify that the xymon server is defined correctly.HOBBITSERVERS="127.0.0.1" -
Restart Xymon server and client (single server deployment)
/etc/init.d/hobbit restart -
Set the xymon service URL in the Kaltura admin console configuration
If you install the Xymon service after you already completed your Kaltura CE installation, you should add the Xymon service URL to the Kaltura admin console configuration (this is set automatically during the installation process of the Kaltura CE). Open the
YOUR_KALTURA_APPLICATION_BASE_DIR/app/admin_console/configs/application.inifile within your already installed Kaltura CE
And adjust the the Xymon URL settingsSettings.xymonUrl = http://YOUR_DOMAIN_NAME/hobbit/For information on further configuration and setting up the Xymon alerts, please refer to the Xymon project documentation available within xymon’s help menu documentation
Define domain name/virtual host name within your HOSTS file
The public domain name/virtual hostname to be used for Kaltura CE service should be set within the /etc/hosts file. This is needed so external and internal API client applications e.g. the admin console application, the kaltura batch application) can be directed to the relevant Kaltura web services according to their internal 'server url' configuration. service url configurations are set within Kaltura's internal API client applications, during the installation of the Kaltura CE, based on user input. this step can be done before/after installation




Comments
Hi! The command "sudo
Hi!
The command "sudo useradd etl -d /home/etl" did not create the /home/etl directory for me... I needed to manually create it with mkdir /home/etl
2. set the etl user
cd /home/
mkdir /home/etl
sudo chown etl:etl etl
Try this instead: sudo
Try this instead:
sudo adduser --home /home/etl etl
The correct command using
The correct command using useradd is:
useradd etl -d /home/etl -m
apt-get install ia32-libs... not working
apt-get install ia32-libs lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386
is just not working. I enabled universe repository and some troubleshooting on the web but I just can't get it to work. I am using 64bit for sure. Also, php install.php doesn't work, is it because of the above step didn't get fixed?
alib32
A bit late now but you can try apt-get update first. Helped me with the same problem
Downloading the patched xmpp
I keep failing the download. Could you put it in a directory where resume and partial downloads are enabled?
Thanks ahead, I hate integration work :D
By the way where would be the place to start trying to contribute to the community version of the offering? Like creating a development environment etc. Thanks ahead
Contributions
I have sent the form at contribute page i guess that'd be it. :D
Downloading the patched xmpp
Thank you! It works
MySQL root password
IMPORTANT:
When you install MySQL, be sure NOT to use parenthesis in your root password. This can cause Kaltura to break down after installation. This issue was discussed here:
http://www.kaltura.org/blank-page-after-login
Edition affected: 2.02