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 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.
Ensure that your system is currently up to date.
I like always do my installing from /home/install/ Feel free to choose any directory you want to store your software in.
cd /home/install/rpms/
We need to install the EPEL and rem repos.
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
rpm -Uvh *.rpm
Now we need to install some needed software, we also enable the remi repo.
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.
http://rpms.famillecollet.com/enterprise/5/olds/x86_64/
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-cli-5.2.10-1.el5.remi.i386.rpm
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-common-5.2.10-1.el5.remi.i386.rpm
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-gd-5.2.10-1.el5.remi.i386.rpm
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-mysql-5.2.10-1.el5.remi.i386.rpm
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-pdo-5.2.10-1.el5.remi.i386.rpm
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-pecl-memcache-3.0.4-1.el5.remi.i386.rpm
wget http://rpms.famillecollet.com/enterprise/5/olds/i386/php-pecl-memcached-0.2.0-1.el5.remi.i386.rpm
Now we need to install the rpms we just grabbed. Don’t install the php-pecl-memcache* ones yet. These will be done at a later step.
We need to install some more pre-reqs for memcache stuff.
Now we get to install the last 2 rpms for php-pecl-memcache
Need to double check that short_open_tag is enabled for PHP. This is done in the /etc/php.ini
short_open_tag = On
Edit /etc/httpd/con/httpd.conf
Find AllowOverride for the directory /var/www/html/
Change it from
AllowOverride None
to
AllowOverride All
Now lets start up the services.
service mysqld start
service httpd start
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.
It is recommended that you create a user for the kaltura database. Below is a simple create, please adjust to your liking.
Now we need to get the current kalturaCE code. The URL below will more than likely change, so make sure to goto the kaltura download site and copy the most current download URL.
Now we need to uncompress it and put it in the /var/www/html/ folder. The -C tells tar to uncompress into that folder.
Now open a browser and point it to
http://IP_OF_YOUR_SERVER/kalturaCE/install/
Where IP_OF_YOUR_SERVER is the actual IP address of your kalturaCE server.
Click begin installation
Should be all green check boxes.
Click on Continue
Database connections.
You will need to have the database, database user, and password. You should know this from a previous step.
Click Save and Continue.
Set the server url, if it is not already done so.
Set the Administrator Account with the info it asks for as well as email…
You should be done.
You can then goto
http://IP_OF_YOUR_SERVER/kalturaCE
You can get to the management interface using,
http://IP_OF_YOUR_SERVER/kalturaCE/index.php/kmc
Start adding your own media.
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.
****update to libmemcached issue*****
If you get this
error: Failed dependencies:
libmemcached.so.2()(64bit) is needed by php-pecl-memcached-0.2.0-1.el5.remi.x86_64
libmemcached.so.2(libmemcached_2)(64bit) is needed by php-pecl-memcached-0.2.0-1.el5.remi.x86_64
or this
error: Failed dependencies:
libmemcached.so.2 is needed by php-pecl-memcached-0.2.0-1.el5.remi.i386
libmemcached.so.2(libmemcached_2) is needed by php-pecl-memcached-0.2.0-1.el5.remi.i386
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.
32-bit
wget http://cobbler.int-evry.fr/cblr/repo_mirror/el5-i386-remi/libmemcached-0.31-1.el5.remi.i386.rpm
file location http://cobbler.int-evry.fr/cblr/repo_mirror/el5-i386-remi/
64-bit
wget http://cobbler.int-evry.fr/cblr/repo_mirror/el5-x86_64-remi/libmemcached-0.31-1.el5.remi.x86_64.rpm
file location http://cobbler.int-evry.fr/cblr/repo_mirror/el5-x86_64-remi/
Hopefully this helps!!
Thank you,
Engineer Tim
Hi,
This is an awesom article, thanks for Sharing!
From your experience, did you run into issues or features you’d like to be improved?
We’d like to have as much feedback possible to improve the system, and there is a new version coming up in a few weeks – with ton of new features and fixes, so be sure to check it out.
Please feel free to drop by the community site or drop me an email directly if you have ideas, bugs or features.
Zohar.
Zohar,
Thank you for the kind comment.
I don’t think there is anything as of yet that I would change. The install was very smooth. It took some time to track down the original errors I was having. Almost all of them being directly related to the short tags for PHP and the AllowOverride settings. I think it would help a lot of people to specifically let people know that PHP 5.3 does not work. That was another stumbling block, but with some searching I found that out.
I will contact you directly to discuss some other things.
Thank you,
Engineer Tim
Engineer Tim,
I want to sincerely thank you for taking the time to write such a great and successful article. I was able to get this up and running on centos5.4 with no problems. However I wanted to note that I was first failing so to the servers registration not working. I was getting a server install successful however registration failed. Once I moved the system on to public IP with smtp working correctly it worked like a dream. Thank again for this awesome article.
Jaysunn
hi running in to one problem, i get to rpm -ivh php-pecl-memcache* and it fails looking libmemcached.so.2.
error: Failed dependencies:
libmemcached.so.2 is needed by php-pecl-memcached-0.2.0-1.el5.remi.i386
libmemcached.so.2(libmemcached_2) is needed by php-pecl-memcached-0.2.0-1.el5.remi.i386
i looked in my system and I find libmemcached.so.4 in /usr/lib/
any idea how to get this to work
Engineer Tim,
This is a great article and I am excited to get this up and running. The only problem that I am running into now is two failed dependencies:
libmemcached.so.2()(64bit) is needed by php-pecl-memcached-0.2.0-1.el5.remi.x86_64
libmemcached.so.2(libmemcached_2)(64bit) is needed by php-pecl-memcached-0.2.0-1.el5.remi.x86_64
The version of libmemcached that gets installed now from the remi repo is: 0.38 which provides libmemcached.so.4 and not libmemcached.so.2. I tried making a symlink and this fails. Does anyone have a copy of libmemcached that provides libmemcached.so.2? I looked everywhere on the web and cant find a version for centos 5.4.
Thanks again for the great article!
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.
32-bit
wget http://cobbler.int-evry.fr/cblr/repo_mirror/el5-i386-remi/libmemcached-0.31-1.el5.remi.i386.rpm
file location http://cobbler.int-evry.fr/cblr/repo_mirror/el5-i386-remi/
64-bit
wget http://cobbler.int-evry.fr/cblr/repo_mirror/el5-x86_64-remi/libmemcached-0.31-1.el5.remi.x86_64.rpm
file location http://cobbler.int-evry.fr/cblr/repo_mirror/el5-x86_64-remi/
Hopefully this helps!!
Thank you,
Engineer Tim
Libmemcached-0.31 no longer available on cobler… (heavy sigh…)
Anyone out there able to help. Many google searches have been done in vain.
Thanks,
Warren
this my sound stupid but well i’m learning. i made a social neworking site so i had to learn a lot, but i;m lost when it comes to installing kaltura CE. i understand the MsQL part cause is the same as installing wordpress but i’m lost when it comes to the other stuff.
i’m confuse asto where or how to put those lines that you have in the begining, and also i think i’m unzipping kaltura wrong or something cause they tell me im not suppost to unzipp it in my computer, intead im suppost to upload it to my server and unzipp it inside my server. problem is that i dont kno how to unzipp it inside the server. i tried one way but no luck.
is there any chance of you posting screan shot or video.
thank you for the help
alverto
really need an updated guide for 2.0 can someone help
I should be able to do that. I have a kickcstart file that I have been using for 1.5 that I should be able to tweak for a quick and easy install.
I can try to post a screen cast of the install process. It is going to take me some time to do it though.