SCADA on Debian Linux

Help Contents

Introduction

Debian is a Linux distribution that only contains free software.

Debian is used as the base of other Linux distributions, for example Ubuntu and Raspbian.

This page shows you how to install Fernhill SCADA Runtime on Debian Linux.

Setup Instructions

The latest setup packages can be downloaded from https://www.fernhillsoftware.com/download.php.

These instructions show you how to:

Install Fernhill SCADA on Debian Linux

To Install Fernhill SCADA on Debian Linux:

  1. Download the Debian package

    Do one of the following:

    Note: If you are installing on a computer with the i386 architecture change amd64 to i386 in the above instructions.

  2. Switch to the root user

    Use the following substitute user command to change to the root user:

    su root

    Note: You will be prompted to enter the root user password.

  3. Install the setup package

    Use the following Advanced Package Tool command to install Fernhill SCADA:

    apt install ./fernhill-scada_3.34_amd64.deb

    Note: If you are installing on a computer with the i386 architecture change amd64 to i386 in the above command.

Configure and Start the Fernhill SCADA Server

If you want to run the Fernhill SCADA Server on the Linux computer, follow these steps:

  1. Start the Fernhill SCADA Service

    Use this systemd system and service manager command to start the Fernhill SCADA service:

    systemctl start fernhill-scada

  2. Check the Fernhill SCADA Service is running

    Use this systemd system and service manager command to show the status of the Fernhill SCADA service:

    systemctl status fernhill-scada

    The output of the above command should look similar to:

    ● fernhill-scada.service - Fernhill SCADA Server for Unix
       Loaded: loaded (/lib/systemd/system/fernhill-scada.service; enabled; vendor preset: ...
       Active: active (running) since Tue 2018-08-28 14:48:15 BST; 2min 43s ago
      Process: 363 ExecStart=/usr/bin/fernhill-scada --pidfile /var/run/fernhill-scada.pid ...
     Main PID: 404 (fernhill-scada)
        Tasks: 10 (limit: 4915)
       CGroup: /system.slice/fernhill-scada.service
               └─404 /usr/bin/fernhill-scada --pidfile /var/run/fernhill-scada.pid --daemon
  3. Enable the Fernhill SCADA Service to start on system start

    Use this systemd system and service manager command to enable the Fernhill SCADA service to start on system start:

    systemctl enable fernhill-scada

Optional - Register the ODBC Driver with UnixODBC

This is an optional step to register the ODBC Driver with UnixODBC. If you do not plan to use ODBC you can skip this step.

UnixODBC is an ODBC Driver Manager available on Debian.

If you want to access Fernhill SCADA data from a Linux computer using the UnixODBC Driver Manager follow these steps:

  1. Check UnixODBC is installed

    Use this Package Manager command to check if UnixODBC is installed:

    dpkg -s unixodbc

    If UnixODBC is installed, go to step 3.

  2. Install UnixODBC

    Use this Advanced Package Tool command to install UnixODBC:

    apt install unixodbc

  3. Register the Fernhill SCADA ODBC Driver with UnixODBC

    Use this command to register the Fernhill SCADA ODBC driver with UnixODBC:

    odbcinst -i -d -f /usr/share/fernhill-scada/unixodbc-fhscada

  4. Check the ODBC Driver has registered Successfully

    Use this command to view the contents of /etc/odbcinst.ini:

    cat /etc/odbcinst.ini

    After successful registration you should see an entry in the file similar to the following

    [Fernhill SCADA]
    Description=Fernhill SCADA ODBC Driver
    Driver=/usr/lib/fernhill-scada/libFHOdbc.so
    Setup=/usr/lib/fernhill-scada/libFHOdbc.so
    ...
    

See Setting up an ODBC User DSN for UnixODBC on Linux for help on setting up a DSN.

Connect the Configuration Tool to Fernhill SCADA on Debian Linux

The Configuration Tool provides a suite of tools to configure Fernhill SCADA. To connect the configuration tool to Fernhill SCADA running on Debian Linux:

  1. Start the Configuration Tool.
  2. On the Start Page, click Connect to Fernhill SCADA.
  3. Enter the IP address of the Debian Linux computer running Fernhill SCADA.
  4. Remove the check from the option Integrated Windows authentication.
  5. Enter the user name and password of an account on the Debian Linux computer.
  6. Click OK to connect.

For information on how to assign Fernhill SCADA User Rights to Debian Linux users see Fernhill SCADA User Rights on Linux.

Further information

Configuration Tool

To learn about the tool to configure Fernhill SCADA.

Setting up an ODBC User DSN for UnixODBC on Linux

To learn about setting up ODBC Data Source Names (DSNs) for UnixODBC on Linux.

User Rights on Linux

To learn about how to assign users rights for Fernhill SCADA running on Linux.

Fernhill SCADA Setup

To learn about the different setup packages.

Glossary

For the meaning of terms used in Fernhill SCADA.