Skip to main content

Prerequisites

Before installing the SCANOSS Go API, ensure the following components are already installed and operational on the target system.

Installation

Before starting the installation, ensure you have received a .tar.gz archive containing the following:
  • Installation scripts
  • API binary
  • Engine binary (optional)
Note: The Engine binary is optional if the SCANOSS Engine is already installed as a prerequisite (see above).

Create a Dedicated User

Create a system user under which the SCANOSS Go API service will run:

Download the API

Download the latest release for your architecture (AMD64 or ARM64) from the SCANOSS Go API releases, or use the following commands:

Build the API Binary

Note: This step is only required if you are building from source rather than using a pre-built release binary.
Navigate to the source directory and build the binary for your architecture:

Set Up the Environment and Install

Run the setup script included in the package:

Start the Service

Verify the Service

Confirm the service is running by checking the following endpoints:
View logs in real time:
Check the service status:
Stop the service:

Configuration & Tuning

The behaviour of the SCANOSS Go API can be customised by modifying the configuration file located at:

Default Configuration

Configuration Parameters

Application Settings (App)

Logging Settings (Logging)

Scanning Settings (Scanning)

WFP refers to Winnowing Fingerprint, the hashing method used by the SCANOSS Engine to fingerprint source files.

TLS Settings (Tls)