Kaltura/Installation

From r00tedvw.com wiki
Revision as of 00:15, 27 January 2016 by R00t (Talk | contribs)

Jump to: navigation, search

Contents

 [hide

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

root@kaltura-server:~# 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 =

root@kaltura-server:~# vi /etc/mysql/my.cnf
/[mysqld
[mysqld]
sql-mode =

Apache2

disable the default site

root@kaltura-server:~# a2dissite 000-default.conf
root@kaltura-server:~# service apache2 reload

edit hosts file

You'll need to specify a FQDN during the installation. If you just want to get something going without buying a domain is just to modify your hosts file:

root@kaltura-server:/# vi /etc/hosts
add something like:
 127.0.0.1       localhost
 127.0.1.1       kaltura-server kaltura-server.mydomain.com kaltura.mydomain.com

Flush dns

root@kaltura-server:/# sudo service dns-clean start

Test

root@kaltura-server:/# ping kaltura.mydomain.com
PING kaltura-server (127.0.1.1) 56(84) bytes of data.
64 bytes from kaltura-server (127.0.1.1): icmp_seq=1 ttl=64 time=0.039 ms
64 bytes from kaltura-server (127.0.1.1): icmp_seq=2 ttl=64 time=0.051 ms
^C

Install Kaltura pgp key and update

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

Install Kaltura Server

root@kaltura-server:~# wget http://installrepo.kaltura.org/repo/apt/debian/install_kaltura_all_in_1.sh
root@kaltura-server:~# chmod +x install_kaltura_all_in_1.sh
root@kaltura-server:~# ./install_kaltura_all_in_1.sh

Script Installations steps and questions

configuring dma

Domain for outbound mail. Leave the default (kaltura-server) if you want want the kaltura server to send mail as "kaltura-server".

System Mail Name
ie. domain.com
default: kaltura-server

IP address/Host name of MTA for mail routing. Leave the default (blank) if you want the kaltura server to send mail from itself.

Smart Host
ie. 10.0.0.1 / domain.com
default: [blank]

configuring kaltura-base

Not sure what this is for yet.

CDN hostname
ie. kaltura-server.domain.com
default: kaltura-server

Hostname for the apache virtual host, or website name.

Apache Virtual Host Name
ie. kaltura-server.domain.com
default: kaltura-server

Virtual Host port to listen on (default is http/80)

vhost listening port
ie. 80
default: 80

DB Hostname, if you have a separate database server

DB Hostname
ie. 10.0.0.2
default: localhost

DB Port

DB Port
ie. 3306
default: 3306

MySQL Super User (for installation)

MySQL Super User
ie. root
default: root

MySQL Super User Password (for installation)

MySQL Super User Password
ie. [password]
default: [blank]

Analytics DB Hostname

Analytics DB Hostname
ie. 10.0.0.2
default: localhost

Analytics DB port

Analytics DB port
ie. 3306
default: 3306

Sphinx Hostname

Sphinx Hostname
ie. 10.0.0.3
default: 127.0.0.1

Secondary Sphinx hostname

Secondary Sphinx hostname
ie. 10.0.0.4
default: kaltura-server

Kaltura Service URL, Base URL where the Kaltura API and Apps will be accessed from

Kaltura Service URL
ie. http://kaltura-server.domain.com
default: http://kaltura-server
changed to: kaltura-server
Internal Kaltura Servers
ie. 10.0.0.0/24
default: 0.0.0.0-255.255.255.255
VOD packager hostname
ie. 10.0.0.5
default: 127.0.0.1
VOD packager port
ie. 88
default: 88

Kaltura Admin user (email address), this will be your admin login (root)

Kaltura Admin user (email address)
ie. admin@kaltura-server
default: [blank]
changed to: kaltura-admin@domain.com
Admin Password (confirmed twice) - supposedly has a requirement of 1 uppercase, 1 lowercase, 1 number, and 1 symbol, min 8 characters. I found this was not the case, there is no check in the script.
ie. [password]
default: [blank]

Time-zone based off PHP - http://php.net/date.timezone

Time-Zone
ie. America/New_York (for EST)
default: [blank]

Kaltura Install Name for the Display Name in outgoing emails

Kaltura Install Name
ie. kaltura-server
default: Kaltura Video Platform
Website Contact Us URL
ie. domain.com/contactus.html
default: http://corp.kaltura.com/company/contact-us
Contact Us Phone Number
ie. 800-123-4567
default: +1 800 871 5224
Share data (vague) with developers of Kaltura
ie. Yes/No
default: Yes

Kaltura creates and uses a dedicated MySQL user "Kaltura". Password can be found @ /opt/kaltura/app/configurations/db.ini. Yes if its an all-in-one installation, No if its part of a kaltura cluster and will be accessing an already created DB.

Auto generate MySQL kaltura password?
ie. Yes/No
default: Yes

configuring kaltura-front

Is your Apache working with SSL?
ie. Yes/No
default: Yes
changed to: No
Vhost port to listen on
ie. 80
default: 80

Base URL where the Kaltura API and Apps will be accessed from

Your Kaltura Service URL
ie. http://kaltura-server
default: http://kaltura-server
changed to: kaltura-server
Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki