Installing the Debian package and configuring the web server


Node.js and further tools are installed. The MongoDB database is installed and configured.

  1. From our portal, under Downloads > Scout Cloud Gateway, download the SCG Debian package scg_<version>_amd64.deb.

  2. Install the Debian package by using the following command:

    dpkg -i scg_<Version>_amd64.deb
    1. Start the SCG service.

      systemctl start scg-controller
    2. Optionally, configure the components for automatic system start-up.

      systemctl enable  'nginx' 'cron' 'scg-controller'
  3. Configure the NGINX web server:

    By default, the SCG installs a functional web server configuration under the path /etc/nginx/conf.d/scg.conf. Here, self-signed certificates are linked for initial communication.

    1. Optional: Replace the self-signed certificates with your own. To do so, edit the file /etc/nginx/conf.d/scg.conf and replace the certificate files
      ssl_certificate /opt/unicon/scg/certs/http/certificate.crt;
      ssl_certificate_key /opt/unicon/scg/certs/http/certificate.key;

    2. Make sure that the SCG configuration is not overwritten by the NGINX default configuration.

      rm /etc/nginx/sites-enabled/default
    3. Only earlier versions:1 To customize the NGINX user, edit the file /etc/nginx/nginx.conf

      user scg-web scg-web;
    4. Restart the service.

      systemctl restart nginx


The installation is complete. In the next step, use a browser to log on to the SCG WebAdmin interface and configure your SCG instance. For further information, see Gateway configuration in the SCG WebAdmin interface.