<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Engineer Tim &#187; remi</title>
	<atom:link href="http://engineertim.com/tag/remi/feed/" rel="self" type="application/rss+xml" />
	<link>http://engineertim.com</link>
	<description>Engineers Blog</description>
	<lastBuildDate>Thu, 10 Jun 2010 16:53:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Kaltura CE install on CentOS 5.4</title>
		<link>http://engineertim.com/linux/kaltura-ce-install-on-centos-5-4/</link>
		<comments>http://engineertim.com/linux/kaltura-ce-install-on-centos-5-4/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 00:40:50 +0000</pubDate>
		<dc:creator>Engineer Tim</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[xenforge]]></category>
		<category><![CDATA[epel]]></category>
		<category><![CDATA[kaltura]]></category>
		<category><![CDATA[remi]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://engineertim.com/?p=162</guid>
		<description><![CDATA[



I wanted to share this info on how to install the KalturaCE media server on CentOS.  I saw that a lot of people were having issues getting it to work.  Follow along, it is pretty easy to do.  This should be a cut and paste article.  I did this install in [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-2722578695771488";
/* Engineertim 200x90 */
google_ad_slot = "4567243520";
google_ad_width = 200;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>I wanted to share this info on how to install the <a href="http://www.kaltura.org/">KalturaCE</a> media server on CentOS.  I saw that a lot of people were having issues getting it to work.  Follow along, it is pretty easy to do.  This should be a cut and paste article.  I did this install in Xen with 32bit.  I have not tried this in a 64bit environment yet.  It should work the same, except the part where you have to get some php rpms below. </p>
<p>Ensure that your system is currently up to date.</p>
<p>I like always do my installing from /home/install/  Feel free to choose any directory you want to store your software in.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">mkdir -p /home/install/rpms/<br />
cd /home/install/rpms/</div></div>
<p>We need to install the EPEL and rem repos.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm<br />
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm<br />
rpm -Uvh *.rpm</div></div>
<p>Now we need to install some needed software, we also enable the remi repo.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum install memcached httpd mysql mysql-server gmp libedit t1lib sqlite2 libXpm libXmu libXaw --enablerepo=remi</div></div>
<p>We need to grab the older php-5.2.10 rpms from remi with wget.  These are the i386 rpms.  The path for x86_64 is going to be different.  This path might work if you are wanting 64bit.</p>
<p><strong>http://rpms.famillecollet.com/enterprise/5/olds/x86_64/</strong></p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-5.2.10-1.el5.remi.i386.rpm<br />
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-cli-5.2.10-1.el5.remi.i386.rpm<br />
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-common-5.2.10-1.el5.remi.i386.rpm<br />
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-gd-5.2.10-1.el5.remi.i386.rpm<br />
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-mysql-5.2.10-1.el5.remi.i386.rpm<br />
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-pdo-5.2.10-1.el5.remi.i386.rpm <br />
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-pecl-memcache-3.0.4-1.el5.remi.i386.rpm<br />
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-pecl-memcached-0.2.0-1.el5.remi.i386.rpm</div></div>
<p>Now we need to install the rpms we just grabbed.  Don&#8217;t install the php-pecl-memcache* ones yet.  These will be done at a later step.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rpm -ivh php-5.2.10-1.el5.remi.i386.rpm php-cli-5.2.10-1.el5.remi.i386.rpm php-common-5.2.10-1.el5.remi.i386.rpm php-gd-5.2.10-1.el5.remi.i386.rpm php-mysql-5.2.10-1.el5.remi.i386.rpm php-pdo-5.2.10-1.el5.remi.i386.rpm</div></div>
<p>We need to install some more pre-reqs for memcache stuff.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">yum install php-pear libmemcached --enablerepo=remi</div></div>
<p>Now we get to install the last 2 rpms for php-pecl-memcache</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">rpm -ivh php-pecl-memcache*</div></div>
<p>Need to double check that short_open_tag is enabled for PHP.  This is done in the /etc/php.ini</p>
<p>short_open_tag = On</p>
<p>Edit /etc/httpd/con/httpd.conf</p>
<p>Find AllowOverride for the directory /var/www/html/<br />
Change it from<br />
AllowOverride None<br />
to<br />
AllowOverride All</p>
<p>Now lets start up the services.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">service memcached start<br />
service mysqld start<br />
service httpd start</div></div>
<p>Now comes the MySQL stuff.  We need to setup the database we want to use for kaltura.  You can change the following two lines to match what you want to use.  I use kaltura as the database and the name, and katura123 as the password.  Again, these can be set to whatever you want to use.  These will need to be known when you go into the kalturaCE installer.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">echo &quot;create database kaltura;&quot; | mysql</div></div>
<p>It is recommended that you create a user for the kaltura database.  Below is a simple create, please adjust to your liking.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">echo &quot;grant all privileges on kaltura.* to kaltura@&quot;localhost&quot; identified by 'kaltura123';&quot; &nbsp;| mysql</div></div>
<p>Now we need to get the current kalturaCE code.  The URL below will more than likely change, so make sure to goto the <a href="http://www.kaltura.org/downloads">kaltura</a> download site and copy the most current download URL.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;wget http://www.kaltura.org/sites/default/files/releases/kalturaCE_v1.5_linux386.tgz</div></div>
<p>Now we need to uncompress it and put it in the /var/www/html/ folder.  The -C tells tar to uncompress into that folder.</p>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">tar -zxvf kalturaCE_v1.5_linux386.tgz -C /var/www/html/</div></div>
<p>Now open a browser and point it to </p>
<p>http://IP_OF_YOUR_SERVER/kalturaCE/install/</p>
<p>Where IP_OF_YOUR_SERVER is the actual IP address of your kalturaCE server.</p>
<p>Click begin installation</p>
<p>Should be all green check boxes.</p>
<p>Click on Continue</p>
<p>Database connections.<br />
You will need to have the database, database user, and password.  You should know this from a previous step.</p>
<p>Click Save and Continue.</p>
<p>Set the server url, if it is not already done so.</p>
<p>Set the Administrator Account with the info it asks for as well as email…</p>
<p>You should be done.</p>
<p>You can then goto</p>
<p>http://IP_OF_YOUR_SERVER/kalturaCE</p>
<p>You can get to the management interface using,</p>
<p>http://IP_OF_YOUR_SERVER/kalturaCE/index.php/kmc</p>
<p>Start adding your own media.  <img src='http://engineertim.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If there is enough interest in this, I can put up a Xen image on XenForge.org.  I would also be willing to create a distribution that would install everything, again if enough interest is shown.</p>
<p>****update to libmemcached issue*****<br />
If you get this<br />
error: Failed dependencies:<br />
libmemcached.so.2()(64bit) is needed by php-pecl-memcached-0.2.0-1.el5.remi.x86_64<br />
libmemcached.so.2(libmemcached_2)(64bit) is needed by php-pecl-memcached-0.2.0-1.el5.remi.x86_64</p>
<p>or this<br />
error: Failed dependencies:<br />
       libmemcached.so.2 is needed by php-pecl-memcached-0.2.0-1.el5.remi.i386<br />
       libmemcached.so.2(libmemcached_2) is needed by php-pecl-memcached-0.2.0-1.el5.remi.i386</p>
<p>For those of you having issues finding the libmemcached rpm, I think I found them. Damn remi removing rpms!! Try this link to a mirror of his rpms.<br />
32-bit<br />
wget http://cobbler.int-evry.fr/cblr/repo_mirror/el5-i386-remi/libmemcached-0.31-1.el5.remi.i386.rpm<br />
file location http://cobbler.int-evry.fr/cblr/repo_mirror/el5-i386-remi/</p>
<p>64-bit<br />
wget http://cobbler.int-evry.fr/cblr/repo_mirror/el5-x86_64-remi/libmemcached-0.31-1.el5.remi.x86_64.rpm<br />
file location http://cobbler.int-evry.fr/cblr/repo_mirror/el5-x86_64-remi/</p>
<p>Hopefully this helps!!<br />
Thank you,<br />
Engineer Tim</p>
]]></content:encoded>
			<wfw:commentRss>http://engineertim.com/linux/kaltura-ce-install-on-centos-5-4/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.232 seconds -->
