Skip to content

infrasonar/appliance-installer

Repository files navigation

CI Release Version

InfraSonar Appliance Installer

This tool facilitates the deployment of the InfraSonar appliance.

Prerequisites: Docker version 24 or higher is required.

Installation

1. Download the latest installer:

If your platform is not listed above, refer to the build from source section for instructions.

2. Extract the contents of the archive using a tool like tar. Here's an example for Linux (amd64):

tar -xzvf appliance-installer-linux-amd64-1.0.2.tar.gz

3. Run the installer:

./appliance-installer --verbose

Help information

usage: installer [-h|--help] [-i|--installation-path "<value>"]
                 [-c|--agentcore-token "<value>"] [-a|--agent-token "<value>"]
                 [-z|--zone <integer>] [-d|--use-development] [-v|--verbose]
                 [-y|--yes] [--version]

                 Installation of the InfraSonar appliance

Arguments:

  -h  --help               Print help information
  -i  --installation-path  Installation path for the docker compose and
                           configuration files
  -c  --agentcore-token    Token for the Agentcore. Must be a container token
                           with `CoreConnect` permissions
  -a  --agent-token        Token for the agents. Must be a container token with
                           `Read`, `InsertCheckData`, `AssetManagement` and
                           `API` permissions
  -z  --zone               Zone Id between 0 and 9. Default: 0
  -d  --use-development    Use the InfraSonar development environment
  -v  --verbose            Enable verbose output
  -y  --yes                No confirmation prompts
      --version            Print version information and quit

Build from source

Make sure Go is installed.

1. Clone the repository

git clone https://github.com/infrasonar/appliance-installer.git

2. Open the cloned directory

cd appliance-installer

3. Build the appliance installer

CGO_ENABLED=0 go build -o appliance-installer