Installation of QuadlogSCADA ============================ Git: ~~~ Install git. .. code:: console $ apt install git Download QuadlogSCADA ~~~~~~~~~~~~~~~~~~~~~ Redis Timerseries 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. The library file needs to be copied to the following system location. .. code:: console $ 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. .. code:: console $ nano /etc/redis/redis.conf .. code:: none loadmodule /usr/local/lib/redistimeseries.so SSL ~~~ The web server of QuadlogSCADA will use `https` and so will need to have access to appropriate certificate files. To generate ssl certificates that will remain valid for 5 years. If you need the expiry to be something other than 5 years, then adjust the 'days' value accordingly. .. code:: console $ 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