CentOS 7.2:OSS動画配信プラットフォーム「Kaltura」 セットアップ

OSS(オープンソースソフトウェア)の動画配信プラットフォーム「Kaltura(カルトゥーラ)」 を CentOS 7.2 にインストールします。(2016/06/19作成)

geralt / Pixabay geralt / Pixabay


Kalturaとは、動画コンテンツの管理、編集、配信、レポーティングがweb上で一元管理できるオープンソースソフトウェアです。 Kalturaと、wordpressプラグインを組み合わせて使うことで、動画配信をWeb上でワンストップで行うことができ、動画配信にかかるコストを削減することができます。


$ cat /etc/redhat-release 
CentOS Linux release 7.2.1511 (Core) 


$ sudo vi /etc/hostname


$ sudo vi /etc/sysconfig/iptables


$ sudo vi /etc/selinux/config

5)Setup the Kaltura RPM repository

$ sudo yum localinstall http://installrepo.kaltura.org/releases/kaltura-release.noarch.rpm

* CentOS7を使用している場合は、/etc/yum.repos.d/kaltura.repo編集し、[カルトゥーラ]セクションを変更します。

$ sudo vi /etc/yum.repos.d/kaltura.repo
baseurl = http://installrepo.kaltura.org/releases/latest/RPMS/$basearch/
baseurl = http://installrepo.kaltura.org/releases/rhel7/RPMS/$basearch/

* CentOS7を使用している場合は、MediaInfo パッケージのEPELが必要になります。

$ sudo yum localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

6)MySQL (mariadb) Install and Configuration

$ sudo yum install mariadb-server
$ sudo service mariadb start
$ sudo mysql_secure_installation
Enter current password for root (enter for none): {enter}
Set root password? [Y/n] 
New password: 
Re-enter new password: 
Password updated successfully!
Remove anonymous users? [Y/n] Y
Disallow root login remotely? [Y/n] Y
Remove test database and access to it? [Y/n] Y
Reload privilege tables now? [Y/n] Y
Thanks for using MariaDB!
$ sudo chkconfig mariadb on

7)Mail Server (MTA) Install and Configuration

$ sudo service postfix restart
$ sudo chkconfig postfix on

8)Install Kaltura Server

インストール 1 パッケージ (+179 個の依存関係のパッケージ)
総ダウンロード容量: 948 M / インストール容量: 1.9 G

$ sudo yum clean all
$ sudo yum install kaltura-server

9)Configure MySQL with the required Kaltura Settings

$ sudo /opt/kaltura/bin/kaltura-mysql-settings.sh
パッケージ mysql-server はインストールされていません。
Redirecting to /bin/systemctl restart  mariadb.service

10)Start required service and configure them to run at boot:

$ sudo service memcached restart
$ sudo service ntpd restart
$ sudo chkconfig memcached on
$ sudo chkconfig ntpd on

11)Start of Kaltura Configuration

【ポイント】 ウィザードに従い[Enter]を押下してインストールを進めます。
>> It is recommended that you do work using HTTPs. Would you like to continue anyway?[N/y] "<y>"

$ sudo /opt/kaltura/bin/kaltura-config-all.sh

[Email\NO]: "<your email address>"
CDN hostname [kalrpm.lcl]: "<your hostname>"
Apache virtual hostname [kalrpm.lcl]: "<your hostname>"
Which port will this Vhost listen on [80]?:

DB hostname []: "<>"
DB port [3306]: "<3306>"
MySQL super user [this is only for setting the kaltura user passwd and WILL NOT be used with the application]: "<root>"
MySQL super user passwd [this is only for setting the kaltura user passwd and WILL NOT be used with the application]: "<your root password>"
Analytics DB hostname []: "<>"
Analytics DB port [3306]: "<3306>"
Sphinx hostname []: "<>"

Secondary Sphinx hostname: [leave empty if none] "<empty>"

VOD packager hostname [kalrpm.lcl]: "<http://kaltura-nginx-hostname>"

VOD packager port to listen on [88]: 

Service URL [http://kalrpm.lcl:80]: "<http://apache-hostname:80>"

Kaltura Admin user (email address): "<your email address>"
Admin user login password (must be minimum 8 chars and include at least one of each: upper-case, lower-case, number and a special character): "<your kaltura admin password>"
Confirm passwd: "<your kaltura admin password>"

Your time zone [see http://php.net/date.timezone], or press enter for [Europe/Amsterdam]: "<your timezone>"
How would you like to name your system (this name will show as the From field in emails sent by the system) [Kaltura Video Platform]? "<your preferred system name>"
Your website Contact Us URL [http://corp.kaltura.com/company/contact-us]: "<your contact URL>"
'Contact us' phone number [+1 800 871 5224]? "<your phone numer>"

It is recommended that you do work using HTTPs. Would you like to continue anyway?[N/y] "<y>"
Which port will this Vhost listen on? [80] "<80>"
Please select one of the following options [0]: "<0>"


http://{your hostname} にアクセスし、「Server Admin Tools」を選択、システム管理者画面を開きます。

Add New Publisherを選択し、適当な情報を入力してユーザー登録します。

Subject: Registration confirmation for your Kaltura Video Service

To set your KMC password go to:
http://{your hostname}/index.php/kmc/kmc/setpasshashkey/{setpasshashkey}


About yoshimasa