Console Installation
Supported Distributions (x64 only)
Section titled “Supported Distributions (x64 only)”The list below is limited to the widely adopted Linux distribution families that Docker documents for installing Docker Engine: Debian, Ubuntu, RHEL, CentOS, and Fedora. Raspberry Pi OS and SLES (s390x) are not included, as they are niche or specialized and have not been tested.
- Debian Bullseye 11 (oldoldstable)
- Debian Bookworm 12 (oldstable)
- Debian Trixie 13 (stable)
- Ubuntu Jammy 22.04 (LTS)
- Ubuntu Noble 24.04 (LTS)
- Ubuntu Questing 25.10
- RHEL 8
- RHEL 9
- RHEL 10
- CentOS Stream 9
- CentOS Stream 10
- Fedora 41
- Fedora 42
- Fedora 43
This list is maintained and updated by Docker. For the most up-to-date version information for each distribution, see the official Docker documentation: Install Docker Engine.
Deployment Models
Section titled “Deployment Models”You can deploy AIR in one of two models:
- Single Tier Deployment
All platform components, such as App, Web, NATS, DB, and Redis, are installed and run on the same machine. - 2-Tier Deployment
All components except the Database Layer are installed and run on a single instance, while the Database has its own dedicated instance.
Installation
Section titled “Installation”Before you start
- Make sure you have updated package repositories of the Operating System you are using. Please find below the commands for CentOS and Ubuntu:
For CentOS:
yum updateFor Ubuntu:
apt-get update- Start and enable Docker service by executing the following command:
systemctl start docker && systemctl enable dockerSingle-Tier Deployment
Section titled “Single-Tier Deployment”This deployment model installs all components into a single machine.
Method 1: Quick Deployment (preferred method)
Section titled “Method 1: Quick Deployment (preferred method)”-
Run the one-liner below and wait for it to complete.
curl -fsSL https://cdn.binalyze.com/air-deploy/console.sh | sudo -E bash -
Proceed with the Finalizing Setup section.
Method 2: Manual Deployment (use only when required)
Section titled “Method 2: Manual Deployment (use only when required)”-
Create a folder for the AIR under /opt directory and cd into it
mkdir /opt/binalyze-air && cd /opt/binalyze-air -
Download the docker-compose.yml file and save it.
curl -fsSL "https://cdn.binalyze.com/air-deploy/docker-compose.yml" -o docker-compose.yml -
Create the directory for the database volume with defined access:
install -d -o 1001 -g 1001 ./volumes/data-master/binalyze-air/{data,log}install -d -o 1001 -g 1001 ./volumes/tornado/{data,config} -
Create environment variables:
AIR_POSTGRESQL_PASSWORD=$(head /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 32)echo "AIR_POSTGRESQL_PASSWORD=$AIR_POSTGRESQL_PASSWORD" >> .envecho "AIR_POSTGRESQL_URI=postgresql://air-data:$AIR_POSTGRESQL_PASSWORD@air.data-master.server:5432/airdb" >> .envecho "AIR_NATS_PASSWORD=$(head /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 32)" >> .env -
Run the following command to start the AIR installation in Docker:
docker compose -p binalyze-air up -d -
Wait for the installation to complete. It may take several minutes.
-
Proceed with the Finalizing Setup section.
2-Tier Deployment
Section titled “2-Tier Deployment”This deployment model requires you to first deploy the Database Component (Step 1). Once the database is successfully installed and running, you can proceed with the deployment of the Console Server (Step 2). During this step, you will need to provide the IP address of the previously installed Database Server. This sequence is critical, as the Console Server relies on an active and accessible database instance to function correctly.
Method 1: Quick Deployment (preferred method)
Section titled “Method 1: Quick Deployment (preferred method)”-
Step 1 - On the Database Server: Run the one-liner command below and wait for it to complete (this script will deploy the database component).
curl -fsSL https://cdn.binalyze.com/air-deploy/db.sh | sudo -E bash -
Step 2 - On the Console Server: Once the database is deployed, the above script will output the commands that need to be executed on the Console Server machine.
- SSH into the Console Server machine.
- Run the commands provided by the above script and wait for it to complete.
- Proceed with the Finalizing Setup section.
Method 2: Manual Deployment (use only when required)
Section titled “Method 2: Manual Deployment (use only when required)”-
SSH into the Database Server.
-
Create a folder for the AIR DB under /opt directory and cd into it
mkdir /opt/binalyze-air-db && cd /opt/binalyze-air-db -
Download the docker compose.yml file and save it.
curl -fsSL "https://cdn.binalyze.com/air-deploy/docker-compose-db.yml" -o docker-compose.yml -
Create the directory for the database volume with defined access:
install -d -o 1001 -g 1001 ./volumes/data-master/binalyze-air/{data,log} -
Create environment variables.
AIR_POSTGRESQL_PASSWORD=$(head /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 32)echo "AIR_POSTGRESQL_PASSWORD=$AIR_POSTGRESQL_PASSWORD" >> .env -
Run the following command to start the AIR Database component in Docker:
docker compose -p binalyze-air-db up -d -
Wait for the installation to complete. It may take several minutes.
-
Proceed to the installation of the Console Server
-
SSH into the Console Server
-
Create a folder for the AIR under /opt directory and cd into it
mkdir /opt/binalyze-air && cd /opt/binalyze-air -
Download the docker-compose.yml file and save it
curl -fsSL "https://cdn.binalyze.com/air-deploy/docker-compose-without-db.yml" -o docker-compose.yml -
Create the directory for the volume of the services with defined access:
install -d -o 1001 -g 1001 ./volumes/tornado/{data,config} -
Set the database URI for connecting the Console Server to the DB
IMPORTANT:
&#xNAN;You must fill in the values of the following three variables. We need the passwords created on the DB server and the DB server IP address.
&#xNAN;You can find the passwords in the/opt/binalyze-air-db/.envfile on the DB Server.AIR_POSTGRESQL_PASSWORD=DB_SERVER_IP=echo "AIR_POSTGRESQL_URI=postgresql://air-data:$AIR_POSTGRESQL_PASSWORD@$DB_SERVER_IP:5432/airdb" >> .envecho "AIR_NATS_PASSWORD=$(head /dev/urandom | tr -dc 'a-zA-Z0-9' | head -c 32)" >> .env -
Run the following command to start the AIR installation in Docker
docker compose -p binalyze-air up -d -
Wait for the installation to complete. It may take several minutes
-
Proceed with the Finalizing Setup section
Finalizing Setup
Section titled “Finalizing Setup”Regardless of the deployment model you choose, you will be asked to provide several configurations at the end of the deployment, such as an organization name and the credentials of the first user account.
Once you have completed the above steps successfully, you should:
- Visit http://IP-ADDRESS for accessing the Console (IP address here is the public IP address of the machine you have deployed AIR)
- Accept the EULA and provide the configuration you are asked for in each step
- Complete the setup and log in using the credentials you have provided
- Enjoy AIR!