Fernhill SCADA on Ubuntu Linux

Help Contents

Introduction

Ubuntu is a Linux distribution produced by Canonical.

Setup Instructions

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

These instructions show you how to:

On a clean installation of Ubuntu, the root account is disabled. Users administer Ubuntu using the sudo command, which grants temporary privileged access.

These instructions use to sudo command to perform root administration tasks. If you have enabled the root account, you can avoid using sudo by following Setup Fernhill SCADA for Debian Linux.

Install Fernhill SCADA on Ubuntu Linux

To Install Fernhill SCADA on Ubuntu Linux:

  1. Download the Ubuntu 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. Install the setup package

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

    sudo apt install ./fernhill-scada_3.42_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:

    sudo 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:

    sudo 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 Ubuntu.

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:

    sudo apt install unixodbc

  3. Register the Fernhill SCADA ODBC Driver with UnixODBC

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

    sudo 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 Ubuntu Linux

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

  1. Start the Configuration Tool.
  2. On the Start Page, click Connect to Fernhill SCADA.
  3. Enter the IP address of the Ubuntu 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 Ubuntu Linux computer.
  6. Click OK to connect.

For information on how to assign Fernhill SCADA User Rights to Ubuntu 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 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.