Console Installation
This article contains instructions on how to install the Binalyze AIR console using Docker and it also covers the models of deployment.
Last updated
Was this helpful?
This article contains instructions on how to install the Binalyze AIR console using Docker and it also covers the models of deployment.
Last updated
Was this helpful?
Debian Bookworm 12 (stable)
Debian Bullseye 11 (oldstable)
Ubuntu Lunar 23.04
Ubuntu Kinetic 22.10
Ubuntu Jammy 22.04 (LTS)
Ubuntu Focal 20.04 (LTS)
Red Hat Enterprise Linux 7 on s390x (IBM Z)
Red Hat Enterprise Linux 8 on s390x (IBM Z)
Red Hat Enterprise Linux 9 on s390x (IBM Z)
CentOS 7
CentOS 8 (stream)
CentOS 9 (stream)
Fedora 37
Fedora 38
For more details about Docker installation requirements, please visit:
You can deploy AIR in one of two models:
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:
For Ubuntu:
Start and enable Docker service by executing the following command:
This deployment model installs all components into a single machine.
Run the one-liner below and wait for it to complete.
Create a folder for the Binalyze AIR under /opt directory and cd into it
Download the docker-compose.yml file and save it.
Create the directory for the database volume with defined access:
Create environment variables:
Run the following command to start the Binalyze AIR installation in Docker:
Wait for the installation to complete. It may take several minutes.
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.
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).
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.
You should execute the commands below on the Database Server!
SSH into the Database Server.
Create a folder for the Binalyze AIR DB under /opt directory and cd into it
Download the docker compose.yml file and save it.
Create the directory for the database volume with defined access:
Create environment variables.
Run the following command to start the Binalyze AIR Database component in Docker:
Wait for the installation to complete. It may take several minutes.
Proceed to the installation of the Console Server
You should execute the commands below on the Console Server!
SSH into the Console Server
Create a folder for the Binalyze AIR under /opt directory and cd into it
Download the docker-compose.yml file and save it
Create the directory for the volume of the services with defined access:
Set the database URI for connecting the Console Server to the DB
IMPORTANT:
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.
You can find the passwords in the /opt/binalyze-air-db/.env
file on the DB Server.
Run the following command to start the Binalyze AIR installation in Docker
Wait for the installation to complete. It may take several minutes
Regardless of the deployment model you chose, you will be asked for several configurations at the end of the deployment, such as an organization name, the credentials of the first user account, etc.
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 Binalyze 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 Binalyze AIR!
To ensure your Binalyze AIR deployment is functioning correctly, regularly checking the status of your Docker containers is crucial. Here’s how you can monitor and manage the health of your containers:
Check Container Status:
Run the command sudo docker ps
to list all active Docker containers. This command shows the current state of each container, helping you identify any that aren't running as expected.
Recommended Method for Restarting Containers in Binalyze AIR
When restarting your Binalyze AIR containers, we recommend using the docker compose restart
command instead of the docker compose down/up
method.
The docker compose restart
command allows you to restart all the containers without removing them, ensuring that important logs and state information are retained. This is crucial for effective troubleshooting, as it helps preserve valuable data that could provide insights into potential issues.
Additionally, the docker compose restart
command is a faster and less disruptive option compared to using docker compose down/up
. The down/up approach can result in data loss from container recreation, whereas docker compose restart
avoids this by maintaining the containers' state.
By using the docker compose restart
command, you help ensure logs remain intact, which can assist in resolving issues more efficiently.
Regular monitoring and proactive management of your Docker containers help maintain the stability and reliability of your Binalyze AIR deployment. By keeping an eye on the container statuses and knowing how to quickly restart services, you can ensure continuous operational performance.
All platform components, such as App, Web, NATS, DB, and Redis, are installed and run on the same machine.
All components except the Database Layer are installed and run on a single instance, while the Database has its own dedicated instance.
Proceed with the .
Proceed with the .
Proceed with the