This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:tvip_middleware_installation [2017/04/20 14:55] Egor Danilenko |
en:tvip_middleware_installation [2022/07/06 12:05] (current) Денис Цыганов |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Install TVIP Middleware ====== | + | ===== TVIP TMS ===== |
- | ====Software and Hardware requirements==== | + | |
- | TVIP Middleware require **Ubuntu 14.04.x** (LTS) OS | + | TVIP TMS - IPTV/OTT platform for Service Provider. |
- | The hardware requiremnets depend of the total count of clients applications (STB and SmartOS apps) and poll interval settings. | + | *[[en:tvip_tms_changelog| Changelog ]] |
+ | *[[http://tms.tviplabs.com/en| Features and roadmap on project site]] | ||
- | Before installation you will check current locale of OS, PostgreSql use this variable when create cluster. | + | *[[en:tvip_tms_quick_install_ubuntu| Installation guide]] |
- | + | *[[tvip_tms_faq_new| FAQ ]] | |
- | <code> | + | *[[http://tms.tviplabs.com/en#rec185511209| Functionality]] |
- | cat /etc/default/locale | + | *[[http://tms.tviplabs.com/en#rec185511207 | Supported devices]] |
- | </code> | + | *[[https://wiki.tvip.ru/en/nginx_ssl | How to get SSL certify for NGINX]] |
- | + | *[[https://wiki.tvip.ru/en/tms-search-service| How to Enable Search by EPG]] | |
- | This is example of correct output for Russian Locale | + | *[[https://wiki.tvip.tv/start?id=en/migrage-tms| Migration Tvip TMS between servers]] |
- | <code> | + | |
- | # File generated by update-locale | + | |
- | LANG=ru_RU.UTF-8 | + | |
- | + | ||
- | </code> | + | |
- | + | ||
- | If LANG not contain **UTF-8** suffix - you will need to install correct locale. | + | |
- | + | ||
- | Example of russian locale with UTF-8 support | + | |
- | + | ||
- | Run as **root**: | + | |
- | <code> | + | |
- | locale-gen ru_RU | + | |
- | locale-gen ru_RU.UTF-8 | + | |
- | update-locale | + | |
- | update-locale LANG=ru_RU.UTF-8 | + | |
- | </code> | + | |
- | + | ||
- | ====Quick install==== | + | |
- | Run as **root** on fresh installed UBUNTU 16.04: | + | |
- | + | ||
- | <code> | + | |
- | wget -O - http://deb.packages.tvip.ru/deploy/install-tvip-middleware.sh | sh | + | |
- | </code> | + | |
- | + | ||
- | ====Manual installation==== | + | |
- | Run as **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> | + | |
- | + | ||
- | **locale** may be set in **en** or **ru**, for english and russian language in admin inteface, by default - en. | + | |
- | + | ||
- | After any changes in this file - you will need to flush cache of application | + | |
- | + | ||
- | Run as **root**: | + | |
- | <code> | + | |
- | /opt/tvipmw/app/console cache:clear | + | |
- | </code> | + | |
- | + | ||
- | ====First start==== | + | |
- | + | ||
- | Admin interface located at: | + | |
- | <code>http://<host>/admin</code> | + | |
- | Default login and password is **admin** | + | |
- | + | ||
- | * Poll interval setting located at **Settings -> Configuration -> Device poll interval**, by default - 60 sec. | + | |