User Tools

Site Tools


en:tvip_middleware_installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:tvip_middleware_installation [2017/06/30 08:37]
Egor Danilenko
en:tvip_middleware_installation [2018/08/31 16:34]
Egor Danilenko
Line 1: Line 1:
-====== Install ​TVIP Middleware ====== +===== TVIP TMS =====
-====OS and Hardware preparation====+
  
-TVIP Middleware ​requires ​ **Ubuntu 14.04.x** (LTS) **64bit** OS +TVIP TMS - Middleware ​developed by TVIP.
  
-The requirements ​for hardware depends on the total number of client’s applications (STB and SmartOS apps) and the interval of set-top boxes polling. For example, 2x Intel XEON E5440, 8Gb process about 8000 units with a 20-minute polling interval.+Can be used for:
  
-PostgreSql uses the system locale when creating clusterthe locale should support UTF-8 for database correct operation+  * Subscriber managment: device managmentsubscription managment 
 +  * Device managment: online messaging with divces (text messages, some commands like force reload channel list, reboot, etc) 
 +  * Channel management: URL management, metainformaion (logo, EPG, etc.), DVR settings 
 +  * Advanced subscription management 
 +  * VoD library managment
  
-Checking the OS locale: +For integrations with your billing or accounting platform you can use REST API. Documentation and developer tools are integrated to system.
-<​code>​ +
-cat /​etc/​default/​locale  +
-</​code>​+
  
-The example of the correct output in Russian Locale: +TMS are use documented [[en:tvip_json_middleware_api|Middleware API]] for interaction with STB and applications,​ you can use TVIP branded device,​software and 3rd party devices with Middleware API.
-<​code>​ +
-#  File generated by update-locale +
-LANG=ru_RU.UTF-8+
  
-</​code>​ 
-If **UTF-8 **suffix is not contained in the LANG value – the correct locale should be installed. 
-Example of Russian locale with UTF-8 support 
-To be run from the account root: 
  
-Run as **root**: +  ​*[[en:tvip_tms_install_guide|Guide]] ​ of installation TVIP TMS  
-<​code>​ +  ​*[[tvip_tms_changelog|Changelog]]
-locale-gen ru_RU +
-locale-gen ru_RU.UTF-8 +
-update-locale  +
-update-locale LANG=ru_RU.UTF-8 +
-</​code> ​+
  
-====Quick install==== 
-To be run from the fresh installed UBUNTU 16.04: 
  
-Run as **root**: 
-<​code>​ 
-wget -O - http://​deb.packages.tvip.ru/​deploy/​install-tvip-middleware.sh | sh 
-</​code>​ 
- 
-====Manual installation==== 
-To be run from **root**: ​ 
-<​code>​ 
-#make file where we save paths to repositories 
-touch /​etc/​apt/​sources.list.d/​tvip-middleware.list 
- 
-#add main repo 
-echo "deb http://​deb.packages.tvip.ru/​ trusty main" > /​etc/​apt/​sources.list.d/​tvip-middleware.list 
- 
-#add key to OS 
-wget --quiet -O - http://​deb.packages.tvip.ru/​deploy/​key.asc | apt-key add - 
- 
-#update package information 
-apt-get update 
- 
-#install TMS 
-apt-get install -y tvip-middleware 
- 
-</​code>​ 
- 
-====Setup==== 
- 
-cat /​usr/​local/​etc/​tvipmw.yml ​ 
-<​code>​ 
-parameters: 
- ​database_host:​ 127.0.0.1 
- ​database_port:​ 5432 
- ​memcached_servers:​ [ {host: 127.0.0.1, port: 11211} ] 
- ​database_name:​ tvip_middleware 
- ​database_user:​ tvip_middleware 
- ​database_password:​ <​password>​ 
- ​locale:​ en 
-</​code>​ 
- 
-For English and Russian language **locale** may be set as **en** or **ru** in admin interface, by default - en. 
-After a configuration file is changed - cache of application should be flushed. 
- 
-Run as **root**: 
-<​code>​ 
-/​opt/​tvipmw/​app/​console cache:clear 
-</​code>​ 
- 
-====First start==== 
- 
-Admin interface located at: 
-<​code>​http://<​host>/​admin</​code>​ 
-Default login is admin and password is admin; at first entry, it is recommended to add personal accounts ​ and disable user access to admin. ​ 
- 
-  * Poll interval setting located at  **Settings -> Configuration -> Device poll interval**, by default - 60 sec. 
- 
-====Platform update==== 
- 
-<​code>​ 
-apt-get update 
-apt-get install tvip-middleware 
-</​code>​ 
  
en/tvip_middleware_installation.txt · Last modified: 2022/07/06 12:05 by Денис Цыганов