Install Tani Web Configuration and Tani Web Visualisation

Windows

Currently we do not support the web config and web scada system under Windows.

Linux

PC

Linux requires the executable bit set in the installer.
Please set the execute bit.
In a command line enter: chmod u+x <installation file>

As security Linux does not start a program in the current directory. You need to give an additional path. The current path fixes this.
Example: ./<installation file>

If the software should be installed unattended some command line parameters are required:
<name of the installer executable> -destination=/opt/plcengine --i-agree-to-all-licenses --noprompt --noreadme --nooptions [additional options]
This example is for the standard case which will install it as a system daemon.

Options for the first installation or update:

-destination=[path] - destination path for the installation
--i-agree-to-all-licenses - don't show/auto-accept the EULA
--noprompt - don't show any messages
--noreadme - don't show readme files
--nooptions - don't show option selection

--force_root - always install as if running as root; NOTE: this assumes the current user can write to /etc and /var
--no_root - disable the root account detection, install in destination directory only, don't write to /etc and /var

Raspberry, Odroid and compatible embedded devices

The web configuration/web SCADA needs a Web Server.
Install it with
sudo apt-get install lighttpd or sudo apt-get install apache2

W&T pure.box3 and pure.box5

Currently we do not support the web configuration and the web SCADA system for the pure.box devices.

Phytec Regor and Tauri

The Phytec devices are using a text based installer.
Put the installer to the device using ftp.
Start a ssh connection to the device.
Set the installer executable with "chmod u+x [filename]".
Execute it with "./[filename]".

For the Phytec devices a special software exists. It allows separated networks.
This is important on two networks which are using the same subnets.
This software is designed to security.
It removes all users and services which Phytec ships on the standard software for this devices.
Fort the protection against unauthorized installation (ald the denied access th the system) a command line parameter is needed.
./DeviceSetupRegorInstaller-[Version]-arm -fwinstall
or
./DeviceSetupPlusRegorInstaller-[Version]-arm -fwinstall

Later a firmware update can be done with the graphical configuration software.
The change from a firmware without and with the integrated web server can be done with the command line only.

Configuration of the underlaying web server

The Tani Web Configuration/Tani Web SCADA consists of two modules:

For the DeviceSetupPlus installer: The Web Server is included and should work immediately.
For all other installers: The Web Server is NOT included in the setup package. Users who whish to use the Web Visualisation/Web SCADA must install and configure a Web Server. Requirements are:

Example Web Server configurations are given below. They assume Plc Engine, WebConfig/WebVisu and the Web Server run on the same machine.
If required, the port 8082/8081 can be changed by setting 'WebConfigPort'/'WebVisuPort' in ConfigServer.Settings (when included in PlcEngine) or WebConfig.Settings/WebVisu.Settings (for standalone installer).
Note that values in [square brackets] must be replaced.

Apache httpd2

  1. Look up the following configuration items of the server, usually in /etc/apache2/: For OpenSUSE 15.3 (in /etc/apache2/default-server.conf): For Ubuntu 22.04LTS and Debian 11 (in /etc/apache2/sites-enabled/000-default.conf and /etc/apache2/httpd.conf):
  2. Determine the apache2 module directory, e.g. by inspecting the installed package.
    For OpenSUSE 15.3: /usr/lib64/apache2-prefork/
    For Ubuntu 22.04LTS and Debian 11: /usr/lib/apache2/modules/
  3. For WebConfig: Create the file [IncludeOptional]/pe_webconfig.conf with this content:
    LoadModule proxy_module [ModuleDirectory]/mod_proxy.so
    LoadModule proxy_wstunnel_module [ModuleDirectory]/mod_proxy_wstunnel.so
    ProxyPass "/pe_webconfig/" "ws://localhost:8082/"
  4. For WebVisu: Create the file [IncludeOptional]/pe_webvisu.conf with this content:
    LoadModule proxy_module [ModuleDirectory]/mod_proxy.so
    LoadModule proxy_wstunnel_module [ModuleDirectory]/mod_proxy_wstunnel.so
    ProxyPass "/pe_webvisu/" "ws://localhost:8081/"
  5. For WebConfig: Create the directory [DocumentRoot]/pe
  6. For WebVisu: Create the directory [DocumentRoot]/webvisu
  7. For WebConfig: Extract the [installdir]/webconfig.tar.gz to [DocumentRoot]/pe
  8. For WebVisu: Extract the [installdir]/webvisu.tar.gz to [DocumentRoot]/webvisu
  9. For WebConfig: Restart the Web Server and check that http://[your web server]/pe works.
  10. For WebVisu: Restart the Web Server and check that http://[your web server]/webvisu works.

Lighttpd

  1. Look up the following configuration items of the server, usually in /etc/lighttpd/lighttpd.conf:
  2. Add this line to [conf_dir]/lighttpd.conf:
    For WebConfig: include "conf.d/pe_config.conf"
    For WebVisu: include "conf.d/pe_webvisu.conf"
  3. For WebConfig: Create the file [conf_dir]/conf.d/pe_config.conf with this content:
    server.modules += ( "mod_proxy" )
    $HTTP["url"] =~ "^/pe_config" {
    proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "8082" ) ) )
    proxy.header = ( "upgrade" => "enable" )
    }
  4. For WebVisu: Create the file [conf_dir]/conf.d/pe_webvisu.conf with this content:
    server.modules += ( "mod_proxy" )
    $HTTP["url"] =~ "^/pe_webvisu" {
    proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "8081" ) ) )
    proxy.header = ( "upgrade" => "enable" )
    }
  5. For WebConfig: Create the directory [document-root]/pe
  6. For WebVisu: Create the directory [document-root]/webvisu
  7. For WebConfig: Extract the [installdir]/webconfig.tar.gz to [document-root]/pe
  8. For WebVisu: Extract the [installdir]/webvisu.tar.gz to [document-root]/webvisu
  9. For WebConfig: Restart the Web Server and check that http://[your web server]/pe works.
  10. For WebVisu: Restart the Web Server and check that http://[your web server]/webvisu works.

Imprint

Tani GmbH, Freiligrathstrasse 12, 90482 Nuremberg Phone: +49 911 98037354 E-Mail: info@tanindustrie.de HRB: Amtsgericht N├╝rnberg 29562