Kaltura/Installation

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
*1GB of RAM
 
*1GB of RAM
 
*5GB HDD for Kaltura installation (not counting space for videos)
 
*5GB HDD for Kaltura installation (not counting space for videos)
*64bit Ubuntu or CentOS/Redhat
+
*64bit Ubuntu
  
 
==Start==
 
==Start==
Line 10: Line 10:
 
  ~/home/user$sudo -s
 
  ~/home/user$sudo -s
  
==Flush IPtables==
+
==Install apache2 and mysql==
If possible, flush iptables and stop the service.
+
both of these will need to be installed first and changes need to be made to each before anything else
~/home/user$ iptables -F
+
  <nowiki>sudo apt-get update && sudo apt-get install -y apache2 mysql-server</nowiki>
~/home/user$ service iptables stop  (did not work for me)
+
Choose your mysql root password and remember it.<br>
~/home/user$ chkconfig iptables off    (did not work for me)
+
====mysql====
 
+
search for [mysqld] within /etc/mysql/my.cnf and add a line: sql-mode =
==Disable SELinux==
+
  <nowiki>vi /etc/mysql/my.cnf
Another required step, SELinux MUST be disabled.
+
/ mysqld
 
+
[mysqld]
==Add PGP Key for Kaltura CE==
+
sql-mode =</nowiki>
  <nowiki>kaltura-server:~$ wget http://installrepo.kaltura.org/repo/apt/debian/kaltura-deb.gpg.key
+
====Apache2====
kaltura-server:~$ sudo apt-key add ./kaltura-deb.gpg.key</nowiki>
+
disable the default site
 
+
  <nowiki>a2dissite 000-default.conf</nowiki>
==Install Dependencies==
+
==Install Kaltura pgp key and update==
<nowiki>kaltura-server:~$ sudo apt-get install apache2 php5 php5-cli mysql-server mysql-client curl libcurl3 libcurl3-dev memcached php5-curl php5-gd php5-memcache php5-mysql php-apc php5-xsl php5-imap libssh2-php imagemagick rsync default-jre exif ftp php-services-json spl-core php-xml-serializer php5-mcrypt postfix ia32-libs lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386-y</nowiki>
+
  <nowiki>wget -O - http://installrepo.kaltura.org/repo/apt/debian/kaltura-deb.gpg.key|apt-key add -
Install postfix separately, select No Configuration
+
echo "deb [arch=amd64] http://installrepo.kaltura.org/repo/apt/debian kajam main" > /etc/apt/sources.list.d/kaltura.list
<nowiki>kaltura-server:~$ sudo apt-get install postfix -y</nowiki>
+
aptitude update
On Ubuntu 14.04, package ia32-libs is not available, however the following packages replace it: lib32z1 lib32ncurses5 lib32bz2-1.0<br>
+
aptitude install kaltura-php7</nowiki>
Also, on Ubuntu 14.04, unable to locate package lib32asound2
+
<nowiki>kaltura-server:~$ sudo apt-get install lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 lib32bz2-1.0 libc6-i386 -y</nowiki>
+
 
+
==Edit PHP config for apache==
+
  <nowiki>root@kaltura-server:~# vi /etc/php5/apache2/php.ini</nowiki>
+
search for: request_order = "GP"<br>
+
change it to: request_order = "CGP"<br>
+
 
+
==Enable apache modules==
+
  <nowiki>root@kaltura-server:~# a2enmod rewrite headers expires filter deflate file_cache env proxy
+
root@kaltura-server:~# service apache2 restart</nowiki>
+
 
+
==Edit mysql config==
+
  <nowiki>root@kaltura-server:~# vi /etc/mysql/my.cnf</nowiki>
+
Search for: thread_stack            = 192K<br>
+
Change it to: thread_stack            = 262144K<br>
+
<br>
+
Search for: [mysqld]<br>
+
Add the following lines to it:<br>
+
lower_case_table_names = 1<br>
+
open_files_limit = 20000<br>
+
 
+
==Restart Services==
+
<nowiki>root@kaltura-server:~# service mysql restart
+
root@kaltura-server:~# service apache2 restart</nowiki>
+

Revision as of 04:29, 26 January 2016

Contents

Hardware Requirements

As of version: Kajam-11.7.0:

  • 2Ghz Processor (Dual-Core)
  • 1GB of RAM
  • 5GB HDD for Kaltura installation (not counting space for videos)
  • 64bit Ubuntu

Start

Before you start, switch to root. Kaltura expects that all installation instructions are performed as root.

~/home/user$sudo -s

Install apache2 and mysql

both of these will need to be installed first and changes need to be made to each before anything else

sudo apt-get update && sudo apt-get install -y apache2 mysql-server

Choose your mysql root password and remember it.

mysql

search for [mysqld] within /etc/mysql/my.cnf and add a line: sql-mode =

vi /etc/mysql/my.cnf
/ mysqld
[mysqld]
sql-mode =

Apache2

disable the default site

a2dissite 000-default.conf

Install Kaltura pgp key and update

wget -O - http://installrepo.kaltura.org/repo/apt/debian/kaltura-deb.gpg.key|apt-key add -
echo "deb [arch=amd64] http://installrepo.kaltura.org/repo/apt/debian kajam main" > /etc/apt/sources.list.d/kaltura.list
aptitude update
aptitude install kaltura-php7
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Open Source Products
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
MagicMirror
OwnCloud
Pivotal
osTicket
OTRS
phpBB
WordPress
VmWare ESXI 5.1
Crypto currencies
HTML
CSS
Python
Java Script
PHP
Raspberry Pi
Canvas LMS
Kaltura Media Server
Plex Media Server
MetaSploit
Zoneminder
ShinobiCE
Photoshop CS2
Fortinet
Uploaded
Certifications
General Info
Games
Meal Plans
NC Statutes
Politics
Volkswagen
Covid
NCDMV
Toolbox