Skip to content

Installation of the MediathekViewWeb Server code

Patrick edited this page Mar 11, 2017 · 2 revisions

Requirements:

  • node
  • npm
  • redis >=3.2
  • elasticsearch 5.x

Install Guide for clean Debian 9 Server

  1. Java

    • sudo apt-get install openjdk-8-jre-headless
  2. Elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/5.2/deb.html#deb-repo

  3. Configuration of Elasticsearch:

    • sudo nano /etc/elasticsearch/jvm.options
    • set -Xms 200m and -Xmx 1500m
  4. Node: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions

  5. Redis

    • sudo apt-get install redis-server
  6. MediathekViewWeb

  7. If you want to access your node server (running on port 8000) through port 80:

    See https://stackoverflow.com/questions/18947356/node-js-app-cant-run-on-port-80-even-though-theres-no-other-process-blocking-t

    • sudo iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8000