Hello,
Is it possible to install WinCC OA on Debian OS and if it is, which installation package shoud I use?
WinCC OA on Debian
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: WinCC OA on Debian
No Debian is not supported and there are no install packages for Debian
sadly
sadly
- vogler
- Posts:122
- Joined: Thu Oct 28, 2010 8:32 am
Re: WinCC OA on Debian
right, but you may use docker and run winccoa in a centos container (docker pull centos) 
- kilianvp
- Posts:443
- Joined: Fri Jan 16, 2015 10:29 am
Re: WinCC OA on Debian
Docker is great but the license is a issue.. I need a new shield.txt?
using Xvfb to run headless?
using Xvfb to run headless?
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: WinCC OA on Debian
Is it a question if you need a new shield.txt?
If a new licenses is needed depends on the license you already got.
Best Regards
Leopold Knipp
Senior Support Specialist
If a new licenses is needed depends on the license you already got.
Best Regards
Leopold Knipp
Senior Support Specialist
- dgi
- Posts:11
- Joined: Wed May 09, 2018 4:28 pm
Re: WinCC OA on Debian
You can install and use WinccOA on Debian, but you have to resolve some of the dependencies on your own.
Install WinCCOA on Debian Stretch:
Setup
Install dependencies and tools from the debian repository:
Unzip WinCCOA archive into install directory:
Unpack needed/wanted install packages into local install directory:
Resolve Dependencies
These dependencies can not be installed via Debian repositories, because Debian does not offer the right library versions. In case of security updates by CentOS you will have to update these libraries on your own.
Download dependencies needed from CentOS to temporary directory:
Extract them to local tmp directory:
Move CentOS dependencies to WinCCOA bin directory:
Cleanup (optional):
Setup and Start Documentation (Optional)
First register help documents (this only needs to be done once):
Start help browser:
Bootstrapping
Create bootstrapping script named startOA in install directory and add following content (do not forget to make it executable afterwards):
Create WinCCOA config file named pvssInst.conf in ./etc and add following content: (replace '/path/to/' with install path)
Add install path to WinCCOA global config:
./opt/WinCC_OA/3.16/config/config
Edit pvss_path and proj_path (should then look similar to this, replace '/path/to/' with install path):
Start WinCCOA with the help of the bootstrapping script in the root of the install directory (startOA )
I do not recommend doing something like this in an production environment.
Screenshot:
Install WinCCOA on Debian Stretch:
Setup
Install dependencies and tools from the debian repository:
Code: Select all
$ sudo apt install rpm2cpio libhyphen0 libgstreamer-plugins-base1.0-0 libjpeg62 libdouble-conversion1Unzip WinCCOA archive into install directory:
Code: Select all
$ unzip WinCC_OA_3.16_linux_rhel_x86_64_P*.zipUnpack needed/wanted install packages into local install directory:
Code: Select all
$ rpm2cpio WinCC_OA_3.16-api-rhel-0-7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio WinCC_OA_3.16-applications-rhel-0-7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio WinCC_OA_3.16-base-rhel-0-7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio WinCC_OA_3.16-help-en-rhel-0-7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio WinCC_OA_3.16-rdb-oracle-libs12-rhel-0-7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio WinCC_OA_3.16-s7plus-rhel-0-7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio WinCC_OA_3.16-specialfunctions-rhel-0-7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio WinCC_OA_3.16-sqldrivers-rhel-0-7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio WinCC_OA_3.16-video-rhel-0-7.x86_64.rpm | cpio -i --make-directoriesThese dependencies can not be installed via Debian repositories, because Debian does not offer the right library versions. In case of security updates by CentOS you will have to update these libraries on your own.
Download dependencies needed from CentOS to temporary directory:
Code: Select all
$ mkdir ./tmp
$ cd ./tmp
$ wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libpng-1.5.13-7.el7_2.x86_64.rpm
$ wget http://mirror.centos.org/centos/7/updates/x86_64/Packages/openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm
$ wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libicu-50.1.2-17.el7.x86_64.rpm
$ wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libwebp-0.3.0-7.el7.x86_64.rpmCode: Select all
$ rpm2cpio libpng-1.5.13-7.el7_2.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio openssl-libs-1.0.2k-16.el7_6.1.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio libicu-50.1.2-17.el7.x86_64.rpm | cpio -i --make-directories
$ rpm2cpio libwebp-0.3.0-7.el7.x86_64.rpm | cpio -i --make-directoriesCode: Select all
cd ..
cp -rf ./tmp/usr/lib64/* ./opt/WinCC_OA/3.16/bin/Cleanup (optional):
Code: Select all
$ rm -rf *.rpm
$ rm -rf *.zip
$ rm -rf ./tmpFirst register help documents (this only needs to be done once):
Code: Select all
$ ./opt/WinCC_OA/3.16/bin/assistant -register ./opt/WinCC_OA/3.16/help/en_US.utf8/WinCC_OA.qch -collectionFile ./opt/WinCC_OA/3.16/help/en_US.utf8/WinCC_OA.qhc
$ ./opt/WinCC_OA/3.16/bin/assistant -register ./opt/WinCC_OA/3.16/help/en_US.utf8/UserDependentAlerts.qch -collectionFile ./opt/WinCC_OA/3.16/help/en_US.utf8/WinCC_OA.qhc
$ ./opt/WinCC_OA/3.16/bin/assistant -register ./opt/WinCC_OA/3.16/TestFramework_3.16/help/en_US.utf8/TestFramework.qch -collectionFile ./opt/WinCC_OA/3.16/help/en_US.utf8/WinCC_OA.qhc
Code: Select all
$ ./opt/WinCC_OA/3.16/bin/assistant -collectionFile ./opt/WinCC_OA/3.16/help/en_US.utf8/WinCC_OA.qhc
Create bootstrapping script named startOA in install directory and add following content (do not forget to make it executable afterwards):
Code: Select all
#!/bin/bash
# Author: Daniel Giritzer, 24.03.2018
WCCOA_VER=3.16
export PATH=$(pwd)/opt/WinCC_OA/$WCCOA_VER/bin:$PATH
export LD_LIBRARY_PATH=$(pwd)/opt/WinCC_OA/$WCCOA_VER/bin
export PVSS_II_ROOT=$(pwd)/etc
export PVSS_II=$(pwd)/opt/WinCC_OA/$WCCOA_VER/config/config
startPACode: Select all
[Software\ETM\PVSS II\3.16]
InstallationDir = "/path/to/opt/WinCC_OA/3.16/"./opt/WinCC_OA/3.16/config/config
Edit pvss_path and proj_path (should then look similar to this, replace '/path/to/' with install path):
Code: Select all
[general]
pvss_path = "/path/to/opt/WinCC_OA/3.16/"
proj_path = "/path/to/opt/WinCC_OA/3.16/"
proj_version = "3.16"
langs = "en_US.utf8"
langs = "de_AT.utf8"
langs = "ru_RU.utf8"
lang = "auto"Code: Select all
$ ./startOAScreenshot:
- dgi
- Posts:11
- Joined: Wed May 09, 2018 4:28 pm
Re: WinCC OA on Debian
PS: Same procedure also works for Ubuntu. (and probably also for all other .deb based distros)