Kaltura/Installation

From r00tedvw.com wiki
(Difference between revisions)
Jump to: navigation, search
(Script Installations steps and questions)
 
(38 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
[[Kaltura/Installation|Installation - Ubuntu]] | [[Kaltura/Installation/CentOS|Installation - CentOS]]
 +
 +
==Source==
 +
[https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-deb-based.md https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-deb-based.md]
 +
 
==Hardware Requirements==
 
==Hardware Requirements==
 
As of version: Kajam-11.7.0:
 
As of version: Kajam-11.7.0:
Line 56: Line 61:
 
Domain for outbound mail.  Leave the default (kaltura-server) if you want want the kaltura server to send mail as "kaltura-server".
 
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
 
;System Mail Name
:default: kaltura-server
+
:default: kaltura-server.mydomain.com
 
IP address/Host name of MTA for mail routing.  Leave the default (blank) if you want the kaltura server to send mail from itself.
 
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
 
;Smart Host
Line 64: Line 69:
 
Not sure what this is for yet.
 
Not sure what this is for yet.
 
;CDN hostname
 
;CDN hostname
:default: kaltura-server
+
:default: kaltura-server.mydomain.com
 
Hostname for the apache virtual host, or website name.
 
Hostname for the apache virtual host, or website name.
 
;Apache Virtual Host Name
 
;Apache Virtual Host Name
:default: kaltura-server
+
:default: kaltura-server.mydomain.com
 
Virtual Host port to listen on (default is http/80)
 
Virtual Host port to listen on (default is http/80)
 
;vhost listening port
 
;vhost listening port
Line 88: Line 93:
 
:default: 127.0.0.1
 
:default: 127.0.0.1
 
;Secondary Sphinx hostname
 
;Secondary Sphinx hostname
:default: kaltura-server
+
:default: kaltura-server.mydomain.com
 
Kaltura Service URL, Base URL where the Kaltura API and Apps will be accessed from
 
Kaltura Service URL, Base URL where the Kaltura API and Apps will be accessed from
 
;Kaltura Service URL
 
;Kaltura Service URL
:default: http://kaltura-server
+
:default: http://kaltura-server.mydomain.com
:changed to: kaltura-server
+
 
;Internal Kaltura Servers
 
;Internal Kaltura Servers
 
:default: 0.0.0.0-255.255.255.255
 
:default: 0.0.0.0-255.255.255.255
Line 125: Line 129:
 
;Is your Apache working with SSL?  
 
;Is your Apache working with SSL?  
 
:default: Yes
 
:default: Yes
:changed to: No
+
:changed to: Yes
 +
;Please input path to your SSL certificate:
 +
:changed to: [ssl cert path]
 +
;Please input path to your SSL key:
 +
:changed to: [ssl key path]
 +
;Please input path to your SSL Chain file:
 +
:changed to: [ssl chain file]
 
;Vhost port to listen on:
 
;Vhost port to listen on:
 
:default: 80
 
:default: 80
 
Base URL where the Kaltura API and Apps will be accessed from
 
Base URL where the Kaltura API and Apps will be accessed from
 
;Your Kaltura Service URL:
 
;Your Kaltura Service URL:
:default: http://kaltura-server
+
:default: http://kaltura-server.mydomain.com
:changed to: kaltura-server
+
;Disable other defined vhosts in apache (not recommended to run any other virtual hosts on server)
 +
:default: Yes
  
 
===Configuring kaltura-db===
 
===Configuring kaltura-db===
Line 144: Line 155:
 
;Your MySQL settings are incorrect, do you wish to run kaltura-mysql-settings.sh in order to correct them?
 
;Your MySQL settings are incorrect, do you wish to run kaltura-mysql-settings.sh in order to correct them?
 
:default: Yes
 
:default: Yes
 +
 +
===Configuring kaltura-nginx===
 +
'''Cannot''' be proceeded with http://
 +
;Server name
 +
:default: kaltura-server
 +
;Vhost port to listen on:
 +
:default: 88
 +
;Base URL where the Kaltura API will be accessed from
 +
:default: [blank]
 +
:changed to: kaltura-server
 +
;Config Nginx with SSL?
 +
:default: Yes
 +
:changed to: No
 +
 +
==Install/Configure Red5 server==
 +
root@kaltura-server:~# aptitude install -y kaltura-red5
 +
 +
==Unattended Installation==
 +
====Install Kaltura pgp key and update====
 +
<nowiki>
 +
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
 +
</nowiki>
 +
 +
====Get/Config unattended response files====
 +
Either Download the config file from Kaltura's Github or see the modified copy below (that I feel is easier to understand/work with)
 +
<nowiki>
 +
root@kaltura-server:~# wget https://raw.githubusercontent.com/kaltura/platform-install-packages/Jupiter-10.16.0/deb/kaltura_debconf_response.sh
 +
root@kaltura-server:~# chmod +x ./kaltura_debconf_response.sh
 +
root@kaltura-server:~# ./kaltura_debconf_response.sh
 +
root@kaltura-server:~# export DEBIAN_FRONTEND=noninteractive
 +
</nowiki>
 +
 +
====kaltura_debconf_response.sh====
 +
<!-- <div class="toccolours mw-collapsible mw-collapsed">
 +
Test text
 +
<nowiki>kaltura_debconf_response.sh</nowiki>
 +
<nowiki>collapsed</nowiki>
 +
</div>
 +
-->
 +
{| class="mw-collapsible mw-collapsed"
 +
! Custom variation of response file intended for a SSL install
 +
|-
 +
| <div class="toccolours">
 +
<nowiki>
 +
#!/bin/bash
 +
 +
ADMIN_CONSOLE_PASSWD='Password1!'
 +
MYSQL_SUPER_PASSWD='1y8fBMoVAmzCtmmriNOJ'
 +
KALTURA_MYSQL_PASSWD='Z1BnjGzL1UyiiNSBv2kP'
 +
ADMIN_CONSOLE_EMAIL='[email protected]'
 +
IP_RANGE='0.0.0.0-255.255.255.255'
 +
SSL_KEY='/etc/ssl/private/ssl-cert-snakeoil.key'
 +
SPHINX_HOSTNAME='kaltura-server'
 +
DB_PORT='3306'
 +
DB_HOSTNAME='localhost'
 +
CONTACT_PHONE='+1 800 871 5224'
 +
NGINX_SERVICE_URL='kaltura-server'
 +
VHOST_PORT='443'
 +
NGINX_PORT='88'
 +
SERVICE_URL='http://kaltura-server:443'
 +
CDN_HOSTNAME='kaltura-server'
 +
TIME_ZONE='America/New_York'
 +
VOD_PACKAGER_PORT='88'
 +
CONTACT_URL='http://corp.kaltura.com/company/contact-us'
 +
SECOND_SPHINX_HOSTNAME='kaltura-server'
 +
NGINX_HOSTNAME='kaltura-server'
 +
INSTALL_ANALYTICS_EMAIL='[email protected]'
 +
APACHE_HOSTNAME='kaltura-server'
 +
SSL_CERT='/etc/ssl/certs/ssl-cert-snakeoil.pem'
 +
VOD_PACKAGER_HOSTNAME='127.0.0.1'
 +
IS_APACHE_SSL='true'
 +
IS_NGINX_SSL='true'
 +
 +
echo kaltura-base    kaltura-base/admin_console_email        string $ADMIN_CONSOLE_EMAIL | debconf-set-selections
 +
echo kaltura-base    kaltura-base/admin_console_passwd_again password $ADMIN_CONSOLE_PASSWD | debconf-set-selections
 +
echo kaltura-base    kaltura-base/admin_console_passwd_dont_match    note | debconf-set-selections
 +
echo kaltura-base    kaltura-base/admin_console_passwd_invalid_char  note | debconf-set-selections
 +
echo kaltura-base    kaltura-base/admin_console_passwd      password        $ADMIN_CONSOLE_PASSWD | debconf-set-selections
 +
echo kaltura-base    kaltura-base/apache_hostname    string  $APACHE_HOSTNAME | debconf-set-selections
 +
echo kaltura-base    kaltura-base/bad_time_zone      note | debconf-set-selections
 +
echo kaltura-base    kaltura-base/cdn_hostname      string  $CDN_HOSTNAME | debconf-set-selections
 +
echo kaltura-base    kaltura-base/contact_phone      string  $CONTACT_PHONE | debconf-set-selections
 +
echo kaltura-base    kaltura-base/contact_url        string  $CONTACT_URL | debconf-set-selections
 +
echo kaltura-base    kaltura-base/db_hostname        string  $DB_HOSTNAME | debconf-set-selections
 +
echo kaltura-base    kaltura-base/db_port    string  $DB_PORT | debconf-set-selections
 +
echo kaltura-base    kaltura-base/dwh_db_hostname    string  $DB_HOSTNAME | debconf-set-selections
 +
echo kaltura-base    kaltura-base/dwh_db_port        string  $DB_PORT | debconf-set-selections
 +
echo kaltura-base    kaltura-base/env_name  string  Kaltura Video Platform | debconf-set-selections
 +
echo kaltura-base    kaltura-base/install_analytics_consent  boolean false | debconf-set-selections
 +
echo kaltura-base    kaltura-base/install_analytics_email    string $INSTALL_ANALYTICS_EMAIL | debconf-set-selections
 +
echo kaltura-base    kaltura-base/ip_range  string  $IP_RANGE | debconf-set-selections
 +
echo kaltura-base    kaltura-base/media_server_hostname      string | debconf-set-selections
 +
echo kaltura-base    kaltura-base/mysql_super_passwd password  $MYSQL_SUPER_PASSWD | debconf-set-selections
 +
echo kaltura-base    kaltura-base/mysql_super_user  string  root | debconf-set-selections
 +
echo kaltura-base    kaltura-base/kaltura_mysql_passwd      password        $KALTURA_MYSQL_PASSWD | debconf-set-selections
 +
echo kaltura-base    kaltura-base/kaltura_mysql_passwd_again password        $KALTURA_MYSQL_PASSWD | debconf-set-selections
 +
echo kaltura-base    kaltura-base/auto_generate_kaltura_mysql_passwd boolean false | debconf-set-selections
 +
echo kaltura-base    kaltura-base/second_sphinx_hostname    string  $SECOND_SPHINX_HOSTNAME | debconf-set-selections
 +
echo kaltura-base    kaltura-base/service_url        string  $SERVICE_URL | debconf-set-selections
 +
echo kaltura-base    kaltura-base/sphinx_hostname    string  $SPHINX_HOSTNAME | debconf-set-selections
 +
echo kaltura-base    kaltura-base/time_zone  string $TIME_ZONE | debconf-set-selections
 +
echo kaltura-base    kaltura-base/vhost_port string  $VHOST_PORT | debconf-set-selections
 +
echo kaltura-base    kaltura-base/vod_packager_hostname      string  $VOD_PACKAGER_HOSTNAME | debconf-set-selections
 +
echo kaltura-base    kaltura-base/vod_packager_port  string  $VOD_PACKAGER_PORT | debconf-set-selections
 +
 +
echo kaltura-db      kaltura-db/db_already_installed boolean false | debconf-set-selections
 +
echo kaltura-db      kaltura-db/db_hostname  string  $DB_HOSTNAME | debconf-set-selections
 +
echo kaltura-db      kaltura-db/db_port      string  $DB_PORT | debconf-set-selections
 +
echo kaltura-db      kaltura-db/fix_mysql_settings  boolean true | debconf-set-selections
 +
echo kaltura-db      kaltura-db/mysql_super_passwd  password        $MYSQL_SUPER_PASSWD | debconf-set-selections
 +
echo kaltura-db      kaltura-db/mysql_super_user    string  root | debconf-set-selections
 +
echo kaltura-db      kaltura-db/remove_db    boolean false | debconf-set-selections
 +
 +
 +
echo kaltura-front  kaltura-front/apache_ssl_cert  string  $SSL_CERT | debconf-set-selections
 +
echo kaltura-front  kaltura-front/apache_ssl_chain  string | debconf-set-selections
 +
echo kaltura-front  kaltura-front/apache_ssl_key    string  $SSL_KEY | debconf-set-selections
 +
echo kaltura-front  kaltura-front/is_apache_ssl    boolean $IS_APACHE_SSL | debconf-set-selections
 +
echo kaltura-front  kaltura-front/self_signed_cert  note | debconf-set-selections
 +
echo kaltura-front  kaltura-front/service_url      string  $SERVICE_URL | debconf-set-selections
 +
echo kaltura-front  kaltura-front/vhost_port        string  $VHOST_PORT | debconf-set-selections
 +
echo kaltura-front  kaltura-front/web_interfaces    multiselect | debconf-set-selections
 +
 +
echo kaltura-nginx  kaltura-nginx/kaltura_service_url      string $NGINX_SERVICE_URL | debconf-set-selections
 +
echo kaltura-nginx  kaltura-nginx/nginx_hostname    string  $NGINX_HOSTNAME | debconf-set-selections
 +
echo kaltura-nginx  kaltura-nginx/nginx_port        string  $NGINX_PORT | debconf-set-selections
 +
echo kaltura-nginx  kaltura-nginx/ssl_cert          string  $SSL_CERT | debconf-set-selections
 +
echo kaltura-nginx  kaltura-nginx/ssl_key          string  $SSL_KEY | debconf-set-selections
 +
echo kaltura-nginx  kaltura-nginx/is_ssl            boolean $IS_NGINX_SSL | debconf-set-selections
 +
 +
echo mysql-server-5.5        mysql-server/root_password_again        password $MYSQL_SUPER_PASSWD | debconf-set-selections
 +
echo mysql-server-5.5        mysql-server/root_password      password $MYSQL_SUPER_PASSWD | debconf-set-selections
 +
</nowiki>
 +
</div>
 +
|}
 +
 +
====Install Kaltura Server====
 +
<nowiki>
 +
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
 +
</nowiki>

Latest revision as of 07:29, 18 February 2016

Installation - Ubuntu | Installation - CentOS

Contents

[edit] Source

https://github.com/kaltura/platform-install-packages/blob/master/doc/install-kaltura-deb-based.md

[edit] 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

[edit] Start

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

~/home/user$sudo -s

[edit] 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.

[edit] 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 =

[edit] Apache2

disable the default site

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

[edit] 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

[edit] 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

[edit] 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

[edit] Script Installations steps and questions

[edit] 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
default: kaltura-server.mydomain.com

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
default: [blank]

[edit] configuring kaltura-base

Not sure what this is for yet.

CDN hostname
default: kaltura-server.mydomain.com

Hostname for the apache virtual host, or website name.

Apache Virtual Host Name
default: kaltura-server.mydomain.com

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

vhost listening port
default: 80
DB Hostname
default: localhost
DB Port
default: 3306

MySQL Super User (for installation)

MySQL Super User
default: root

MySQL Super User Password (for installation)

MySQL Super User Password
default: [blank]
Analytics DB Hostname
default: localhost
Analytics DB port
default: 3306
Sphinx Hostname
default: 127.0.0.1
Secondary Sphinx hostname
default: kaltura-server.mydomain.com

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

Kaltura Service URL
default: http://kaltura-server.mydomain.com
Internal Kaltura Servers
default: 0.0.0.0-255.255.255.255
VOD packager hostname
default: 127.0.0.1
VOD packager port
default: 88

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

Kaltura Admin user (email address)
default: [blank]
changed to: [email protected]
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.
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
default: Kaltura Video Platform
Website Contact Us URL
default: http://corp.kaltura.com/company/contact-us
Contact Us Phone Number
default: +1 800 871 5224
Share data (vague) with developers of Kaltura
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?
default: Yes

[edit] configuring kaltura-front

Is your Apache working with SSL?
default: Yes
changed to: Yes
Please input path to your SSL certificate
changed to: [ssl cert path]
Please input path to your SSL key
changed to: [ssl key path]
Please input path to your SSL Chain file
changed to: [ssl chain file]
Vhost port to listen on
default: 80

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

Your Kaltura Service URL
default: http://kaltura-server.mydomain.com
Disable other defined vhosts in apache (not recommended to run any other virtual hosts on server)
default: Yes

[edit] Configuring kaltura-db

DB hostname
default: localhost

DB Port:

default: 3306
MySQL super user [only needed for install]
default: root
MySQL super user passwd [only for install]
default: [blank]
Your MySQL settings are incorrect, do you wish to run kaltura-mysql-settings.sh in order to correct them?
default: Yes

[edit] Configuring kaltura-nginx

Cannot be proceeded with http://

Server name
default: kaltura-server
Vhost port to listen on
default: 88
Base URL where the Kaltura API will be accessed from
default: [blank]
changed to: kaltura-server
Config Nginx with SSL?
default: Yes
changed to: No

[edit] Install/Configure Red5 server

root@kaltura-server:~# aptitude install -y kaltura-red5

[edit] Unattended Installation

[edit] 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

[edit] Get/Config unattended response files

Either Download the config file from Kaltura's Github or see the modified copy below (that I feel is easier to understand/work with)

root@kaltura-server:~# wget https://raw.githubusercontent.com/kaltura/platform-install-packages/Jupiter-10.16.0/deb/kaltura_debconf_response.sh
root@kaltura-server:~# chmod +x ./kaltura_debconf_response.sh
root@kaltura-server:~# ./kaltura_debconf_response.sh
root@kaltura-server:~# export DEBIAN_FRONTEND=noninteractive

[edit] kaltura_debconf_response.sh

Custom variation of response file intended for a SSL install
#!/bin/bash

ADMIN_CONSOLE_PASSWD='Password1!'
MYSQL_SUPER_PASSWD='1y8fBMoVAmzCtmmriNOJ'
KALTURA_MYSQL_PASSWD='Z1BnjGzL1UyiiNSBv2kP'
ADMIN_CONSOLE_EMAIL='[email protected]'
IP_RANGE='0.0.0.0-255.255.255.255'
SSL_KEY='/etc/ssl/private/ssl-cert-snakeoil.key'
SPHINX_HOSTNAME='kaltura-server'
DB_PORT='3306'
DB_HOSTNAME='localhost'
CONTACT_PHONE='+1 800 871 5224'
NGINX_SERVICE_URL='kaltura-server'
VHOST_PORT='443'
NGINX_PORT='88'
SERVICE_URL='http://kaltura-server:443'
CDN_HOSTNAME='kaltura-server'
TIME_ZONE='America/New_York'
VOD_PACKAGER_PORT='88'
CONTACT_URL='http://corp.kaltura.com/company/contact-us'
SECOND_SPHINX_HOSTNAME='kaltura-server'
NGINX_HOSTNAME='kaltura-server'
INSTALL_ANALYTICS_EMAIL='[email protected]'
APACHE_HOSTNAME='kaltura-server'
SSL_CERT='/etc/ssl/certs/ssl-cert-snakeoil.pem'
VOD_PACKAGER_HOSTNAME='127.0.0.1'
IS_APACHE_SSL='true'
IS_NGINX_SSL='true'

echo kaltura-base    kaltura-base/admin_console_email        string $ADMIN_CONSOLE_EMAIL | debconf-set-selections
echo kaltura-base    kaltura-base/admin_console_passwd_again password $ADMIN_CONSOLE_PASSWD | debconf-set-selections
echo kaltura-base    kaltura-base/admin_console_passwd_dont_match    note | debconf-set-selections
echo kaltura-base    kaltura-base/admin_console_passwd_invalid_char  note | debconf-set-selections
echo kaltura-base    kaltura-base/admin_console_passwd       password        $ADMIN_CONSOLE_PASSWD | debconf-set-selections
echo kaltura-base    kaltura-base/apache_hostname    string  $APACHE_HOSTNAME | debconf-set-selections
echo kaltura-base    kaltura-base/bad_time_zone      note | debconf-set-selections
echo kaltura-base    kaltura-base/cdn_hostname       string  $CDN_HOSTNAME | debconf-set-selections
echo kaltura-base    kaltura-base/contact_phone      string  $CONTACT_PHONE | debconf-set-selections
echo kaltura-base    kaltura-base/contact_url        string  $CONTACT_URL | debconf-set-selections
echo kaltura-base    kaltura-base/db_hostname        string  $DB_HOSTNAME | debconf-set-selections
echo kaltura-base    kaltura-base/db_port    string  $DB_PORT | debconf-set-selections
echo kaltura-base    kaltura-base/dwh_db_hostname    string  $DB_HOSTNAME | debconf-set-selections
echo kaltura-base    kaltura-base/dwh_db_port        string  $DB_PORT | debconf-set-selections
echo kaltura-base    kaltura-base/env_name   string  Kaltura Video Platform | debconf-set-selections
echo kaltura-base    kaltura-base/install_analytics_consent  boolean false | debconf-set-selections
echo kaltura-base    kaltura-base/install_analytics_email    string $INSTALL_ANALYTICS_EMAIL | debconf-set-selections
echo kaltura-base    kaltura-base/ip_range   string  $IP_RANGE | debconf-set-selections
echo kaltura-base    kaltura-base/media_server_hostname      string | debconf-set-selections
echo kaltura-base    kaltura-base/mysql_super_passwd password   $MYSQL_SUPER_PASSWD | debconf-set-selections
echo kaltura-base    kaltura-base/mysql_super_user   string  root | debconf-set-selections
echo kaltura-base    kaltura-base/kaltura_mysql_passwd       password        $KALTURA_MYSQL_PASSWD | debconf-set-selections
echo kaltura-base    kaltura-base/kaltura_mysql_passwd_again password        $KALTURA_MYSQL_PASSWD | debconf-set-selections
echo kaltura-base    kaltura-base/auto_generate_kaltura_mysql_passwd boolean false | debconf-set-selections
echo kaltura-base    kaltura-base/second_sphinx_hostname     string  $SECOND_SPHINX_HOSTNAME | debconf-set-selections
echo kaltura-base    kaltura-base/service_url        string  $SERVICE_URL | debconf-set-selections
echo kaltura-base    kaltura-base/sphinx_hostname    string  $SPHINX_HOSTNAME | debconf-set-selections
echo kaltura-base    kaltura-base/time_zone  string $TIME_ZONE | debconf-set-selections
echo kaltura-base    kaltura-base/vhost_port string  $VHOST_PORT | debconf-set-selections
echo kaltura-base    kaltura-base/vod_packager_hostname      string  $VOD_PACKAGER_HOSTNAME | debconf-set-selections
echo kaltura-base    kaltura-base/vod_packager_port  string  $VOD_PACKAGER_PORT | debconf-set-selections

echo kaltura-db      kaltura-db/db_already_installed boolean false | debconf-set-selections
echo kaltura-db      kaltura-db/db_hostname  string  $DB_HOSTNAME | debconf-set-selections
echo kaltura-db      kaltura-db/db_port      string  $DB_PORT | debconf-set-selections
echo kaltura-db      kaltura-db/fix_mysql_settings   boolean true | debconf-set-selections
echo kaltura-db      kaltura-db/mysql_super_passwd   password        $MYSQL_SUPER_PASSWD | debconf-set-selections
echo kaltura-db      kaltura-db/mysql_super_user     string  root | debconf-set-selections
echo kaltura-db      kaltura-db/remove_db    boolean false | debconf-set-selections


echo kaltura-front   kaltura-front/apache_ssl_cert   string  $SSL_CERT | debconf-set-selections
echo kaltura-front   kaltura-front/apache_ssl_chain  string | debconf-set-selections
echo kaltura-front   kaltura-front/apache_ssl_key    string  $SSL_KEY | debconf-set-selections
echo kaltura-front   kaltura-front/is_apache_ssl     boolean $IS_APACHE_SSL | debconf-set-selections
echo kaltura-front   kaltura-front/self_signed_cert  note | debconf-set-selections
echo kaltura-front   kaltura-front/service_url       string  $SERVICE_URL | debconf-set-selections
echo kaltura-front   kaltura-front/vhost_port        string  $VHOST_PORT | debconf-set-selections
echo kaltura-front   kaltura-front/web_interfaces    multiselect | debconf-set-selections

echo kaltura-nginx   kaltura-nginx/kaltura_service_url       string $NGINX_SERVICE_URL | debconf-set-selections
echo kaltura-nginx   kaltura-nginx/nginx_hostname    string  $NGINX_HOSTNAME | debconf-set-selections
echo kaltura-nginx   kaltura-nginx/nginx_port        string  $NGINX_PORT | debconf-set-selections
echo kaltura-nginx   kaltura-nginx/ssl_cert          string  $SSL_CERT | debconf-set-selections
echo kaltura-nginx   kaltura-nginx/ssl_key           string  $SSL_KEY | debconf-set-selections
echo kaltura-nginx   kaltura-nginx/is_ssl            boolean $IS_NGINX_SSL | debconf-set-selections

echo mysql-server-5.5        mysql-server/root_password_again        password $MYSQL_SUPER_PASSWD | debconf-set-selections
echo mysql-server-5.5        mysql-server/root_password      password $MYSQL_SUPER_PASSWD | debconf-set-selections

[edit] 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

Personal tools
Namespaces

Variants
Actions
Navigation
Mediawiki
Confluence
DevOps Tools
Ubuntu
Ubuntu 22
Mac OSX
Oracle Linux
AWS
Windows
OpenVPN
Grafana
InfluxDB2
TrueNas
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
2020 Election
Volkswagen
Covid
NCDMV
Toolbox