QuadlogSCADA Components

Git:

Install git.

$ apt install git

Download QuadlogSCADA

TODO This section is yet to be written up.

Essentially

  • git clone from GitHub repository, to directory /home/quadlog:

  • poetry install

  • initial run test of both IOServer and WebServer applications

Use git to clone the repository.

$ git clone https://github.com/paulalting/QuadlogSCADA.git /home/quadlog/quadlog-scada

Redis Timeseries Module

In the ‘extras’ directory of the download there is a pre-compiled library file within a tar or zip file. This is a module used by Redis for performing time series function on data. Copy the file to the following system location.

$ cp redistimeseries.so /usr/local/lib/redistimeseries.so

To have Redis-Server load the module when it starts on system boot, edit the Redis config file and insert at the section where modules are loaded.

$ nano /etc/redis/redis.conf
loadmodule /usr/local/lib/redistimeseries.so

SSL

The web server of QuadlogSCADA uses https protocol and will therefore need access to appropriate SSL certificates. To generate SSL certificates that will remain valid for 5 years, enter the following commands. If an expiry needs to be something other than 5 years, then adjust the ‘days’ value accordingly.

$ openssl req -x509 -nodes -days 1780 -newkey rsa:4096 -keyout /etc/ssl/certs/quadlog-scada.key -out /etc/ssl/certs/quadlog-scada.crt
$ chmod 744 /etc/ssl/certs/quadlog-scada.key