Kaltura CE5 Installation On Centos 6.2

Posted By : Abhimanyu Singh | 18-Jun-2012

I would briefly describe how to install Kaltura CE5 on Centos-6.2.

Kaltura Community Edition is a free, open-source, on-premise Video Platform, developed through the combined efforts of Kaltura and the community.The platform enables video management, publishing, syndication and monetization, as well as providing a robust framework for managing rich-media applications, and developing a variety of online workflows for video.

Installing Apache on Server:

yum update 
yum install httpd mod_ssl
yum install httpd-devel
 
Configure  ServerName
   #  sudo /etc/init.d/httpd start
if above command give error -Starting httpd: httpd: Could not reliably determine the  server’s fully qualified domain name, using xx.xx.xxx.xx for  ServerName  
 
Moify file /etc/httpd/conf/httpd.conf
sudo vi /etc/httpd/conf/httpd.conf
Add  server name after ServerName 
    ServerName <fully_qualified_name_of_server>
 
Open Port 80 (http) from IP tables which is disabled by default
#  vi /etc/sysconfig/iptables
Append  rule as follows:
-A  RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j  ACCEPT
Save  and close the file. Restart iptables:
#  /etc/init.d/iptables restart
 
Install Mysql
yum  install mysql-server
yum  install mysql
Edit /etc/my.cnf add following 3 parameters
lower_case_table_names = 1
thread_stack = 262144
open_files_limit = 20000
 
Installing PHP and their extension:
yum install php
yum  install php-gd 
yum  install php-curl
yum  install php-mysql
yum  install php-mysqli  
yum  install php-exif
yum  install php-ftp
yum  install php-iconv
yum  install php-json
yum  install php-session
yum  install php-apc  
yum  install php-dom
yum  install php-simplexml
yum  install php-xml
yum  install php-xsl
yum  install php-imap  
yum  install php-ctype
yum  install php-ssh2  
 
 
php.ini update
Add  and Verify that request_order parameter includes C, G and P (you  will have to add “C” ) in php.ini and also copy it to  /etc/php.d/php.ini  http://www.kaltura.org/centos-55-installation-error-fixed 
Add  time zone in php.ini
date.timezone = "Canada/Mountain"
 
Install other required packages
yum  install curl 
yum  install memcached
yum  install ImageMagick
Install  following required libraries glibc.i686 , ncurses-libs, zlib-1.2.x , freetype , bzip2-libs
yum  install java (follow link below for installing java)
http://blog.secaserver.com/2011/10/installing-java-1-6-centos-6/
 
 
 
Install Pentaho
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/download
4. Extract  the pentaho data-integration package
tar xvfz pdi-ce-3.2.0-stable.tar.gz -C /usr/local/pentaho
5. Rename  the data-integration root directory into pdi
mv data-integration pdi
 
 Install Xymon
Install Xymon following instructions
http://knowledge.kaltura.com/kaltura-ce-v50-installing-xymon-monitoring-package-centos-62rhel-6
 
Compile and Install PHP Memcahe extension
yum install php-devel
yum install gcc
yum install zlib-devel
yum install make
 
cd /usr/src/
wget http://pecl.php.net/get/memcache-2.2.4.tgz
tar -zxvf memcache-2.2.4.tgz
cd memcache-2.2.4
phpize && ./configure --enable-memcache && make
cp /usr/src/memcache-2.2.4/modules/memcache.so /usr/lib64/php/modules/memcache.so
 
# Note: packaged extension modules are now loaded via the .ini files
# found in the directory /etc/php.d
 
touch /etc/php.d/memcached.ini
echo 'extension=memcache.so' > /etc/php.d/memcached.ini
service httpd restart
yum update php-sqlite
yum upgrade sqlite
 
check php is working by executing
php -version
It should go without errors and show its version and other information.
 
Download and install Kaltura
create a directory /opt/kaltura-installer 
cd /opt/kaltura-installer
svn  checkout  http://www.kaltura.org/kalorg/kalturaCE/tags/KalturaCE_v5.0.0/ 
cd  KalturaCE_v5.0.0
php install.php and follow screen instructions
 
If you get an error like:
Missing file_cache_module Apache module
LoadModule filter_module modules/mod_filter.so
Look at instructions below repo links
 
After Successful install and To start using Kaltura, please complete the following steps:
Add the following line to your /etc/hosts file:
127.0.0.1 your_domain
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
Edit /etc/httpd/conf.d/httpd.conf
add at line:168 after ext_filter
LoadModule filter_module modules/mod_filter.so
Restart apache
Browse  to your Kaltura start page at: http://your_domain/start

 

About Author

Author Image
Abhimanyu Singh

Abhimanyu is an seasoned technologist . He always keeps himself ahead in embracing and adapting new technologies/frameworks to solve business problems. He specialise in Blockchain technology , Video Content Management & enterprise software .

Request for Proposal

Name is required

Comment is required

Sending message..