Unicon documentation migration is in progress. You might find some broken links or experience minor issues in the documentation. We are working on resolving these issues.

X

Installing the Debian package and configuring the web server

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

  1. From our myelux.com 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

    a. Start the SCG service.

    systemctl start scg-controller

    b. 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.

    a. 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;
    

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

    ``` rm /etc/nginx/sites-enabled/default

    c. To customize the NGINX user, edit the file [/etc/nginx/nginx.conf]1[[]from SCG 1 2209]] ```user scg-web scg-web;

    d. Restart the service.

    systemctl restart nginx <!--NeedCopy-->

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.

  • After you have configured your SCG in the [SCG WebAdmin Interface], to check whether all components are running, use the following command:
systemctl status --no-pager --lines=0 'scg-mongod' 'nginx' 'cron' 'scg-openvpn' 'scg-backend' 'scg-controller'
Installing the Debian package and configuring the web server