User Tools

Site Tools


en:tvip_tms_install_guide

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
Last revision Both sides next revision
en:tvip_tms_install_guide [2017/11/01 07:51]
Egor Danilenko [TVIP TMS install guide]
en:tvip_tms_install_guide [2019/06/14 10:53]
Egor Danilenko [Ubuntu users]
Line 1: Line 1:
 ====== TVIP TMS install guide ====== ====== TVIP TMS install guide ======
 +**System requirements**: ​
 +
 +  * 4 Core CPU
 +  * Minimum 16GB of RAM
 +
 **WARNING:​** TVIP TMS in BETA stage, please report all bugs to support@tvip.ru **WARNING:​** TVIP TMS in BETA stage, please report all bugs to support@tvip.ru
  
Line 5: Line 10:
 ===== Ubuntu users ===== ===== Ubuntu users =====
  
-**Supported version:** 16.04 LTS+**Supported version:** 16.04 LTS, 18.04 LTS 
 + 
 +<WRAP center round tip 60%> 
 +We have **quick** way to installation on Ubuntu 18.04 - check instructions [[en:​tvip_tms_quick_install_ubuntu|here]] 
 + 
 +</​WRAP>​
  
  
Line 13: Line 23:
 </​code>​ </​code>​
  
-if you not seen UTF-8 entries in output, you need setup (change ​en_EN code to your region):+if you not seen UTF-8 entries in output, you need setup (change ​en_US code to your region):
 <​code>​ <​code>​
-locale-gen ​en_EN.UTF-8 +locale-gen ​en_US.UTF-8 
-dpkg-reconfigure ​locale +dpkg-reconfigure ​locales
-dpkg-reconfigure keyboard-configuration +
-localedef -i en_EN -c -f UTF-8 en_EN.UTF-8+
 </​code>​ </​code>​
  
Line 34: Line 42:
 Install dependencies:​ Install dependencies:​
  
-  * openjdk-java or oracle java (version ​1.8 or above) +  * openjdk-java or oracle java (version ​11 or above), tvip-tms package has as dependency java11-runtime.
-<​code>​ +
-apt-get install openjdk-8-jre +
-</​code>​+
   * postgresql server ​          ​(version 9.2 or above)   * postgresql server ​          ​(version 9.2 or above)
 <​code>​ <​code>​
 apt-get install postgresql apt-get install postgresql
 </​code>​ </​code>​
-Install TVIP TMS:+  * elasticsearch (version 6.2.3 or above)
 <​code>​ <​code>​
-apt-get install ​tvip-tms+apt-get install ​elasticsearch
 </​code>​ </​code>​
- 
-===== CentOS users ===== 
-**Supported version:** 7 
- 
-Add repository to system: 
-<​code>​ 
-cd /​etc/​yum.repos.d/​ 
-wget http://​rpm.packages.tvip.ru/​tvip-tms.repo 
-</​code>​ 
- 
-Install dependencies:​ 
- 
-  * openjdk-java or oracle java (version 1.8) 
-  * postgresql server ​       (version 9.2 or above) 
  
 Install TVIP TMS: Install TVIP TMS:
 <​code>​ <​code>​
-yum install tvip-tms+apt-get ​install tvip-tms
 </​code>​ </​code>​
  
Line 74: Line 65:
 root@tms:~# su postgres root@tms:~# su postgres
 </​code>​ </​code>​
-  * Create ​tvip_middleware ​user:+  * Create ​tvip-tms ​user:
 <​code>​ <​code>​
-postgres@tms:​~#​ createuser -s tvip_middleware+postgres@tms:​~#​ createuser ​tvip-tms
 </​code>​ </​code>​
-  * Create database for tvip_middleware:+  * Create database for tvip-tms:
 <​code>​ <​code>​
-createdb ​tvip_middleware ​-O tvip_middleware+createdb ​tvip-tms ​-O tvip-tms
 </​code>​ </​code>​
 Configure pg_hba.conf:​ Configure pg_hba.conf:​
Line 116: Line 107:
 spring.datasource.tomcat.max-active=70 spring.datasource.tomcat.max-active=70
 spring.datasource.tomcat.max-wait=1000 spring.datasource.tomcat.max-wait=1000
-spring.datasource.url=jdbc:​postgresql://​localhost:​5432/​tvip_middleware +spring.datasource.url=jdbc:​postgresql://​localhost:​5432/​tvip-tms 
-spring.datasource.username=tvip_middleware+spring.datasource.username=tvip-tms
 spring.datasource.password= spring.datasource.password=
 </​code>​ </​code>​
Line 130: Line 121:
 </​code> ​ </​code> ​
  
 +Enable elasticsearch
 +<​code>​
 +#autostart
 +systemctl enable elasticsearch
 +
 +#start service
 +service elasticsearch start
 +</​code> ​
  
 ===== Check installation ===== ===== Check installation =====
Line 135: Line 134:
 Admin panel located at <​code>​http://<​your_server>:<​server_port>/​admin</​code>​ Admin panel located at <​code>​http://<​your_server>:<​server_port>/​admin</​code>​
  
 +Default user admin has password admin
  
 Fresh installation contains examples of channels, accounts, etc... Fresh installation contains examples of channels, accounts, etc...
Line 150: Line 150:
  
 On all OS access log available in /​var/​log/​tms/​. On all OS access log available in /​var/​log/​tms/​.
 +
 +
 +===== Additional configuration =====
 +**VoD meta import**
 +For TMDB automated media import you will request API key [[https://​developers.themoviedb.org/​3/​getting-started/​introduction|here]] and add they to configuation:​
 +
 +  - Follow to Settings (http://​tms.example.com/​admin#​config_items.
 +  - Create new property: tmdb_api_key,​ set your API key to that property
  
 ====== Migration from TVIP Middleware version 2 ====== ====== Migration from TVIP Middleware version 2 ======
Line 181: Line 189:
 If you use tvip-middleware previously: If you use tvip-middleware previously:
 <​code>​ <​code>​
-postgres@tms:​~#​ psql -u tvip_middleware tvip_middleware ​< /​path/​to/​dump/​tvip-middleware.sql+postgres@tms:​~#​ psql -u tvip-tms tvip-tms ​< /​path/​to/​dump/​tvip-middleware.sql
 </​code>​ </​code>​
  
 WARNING: tvip-middleware backup might be restore before FIRST run of tvip-tms WARNING: tvip-middleware backup might be restore before FIRST run of tvip-tms
en/tvip_tms_install_guide.txt · Last modified: 2019/07/08 17:15 by Egor Danilenko