Skip to main content

Auto Installer in Aquila CATO Network Integration via Linux

Overview

The Aquila CATO Auto Installer automates the deployment and configuration of the CATO Linux Client for secure network connectivity. It simplifies installation, service setup, auto-connect configuration, and startup persistence across Linux environments.

Reference: Aquila CATO Network Integration (Linux)


Prerequisites

  • Service User (linux user)
  • Service Group (linux group)
  • Python Version
  • Account ID
  • Cato API key

Creating the setup installer

Linux:

  1. Login to the Log Collector.
  2. Open Terminal and type the following commands.
    • cd Documents
    • nano setup.sh
  3. Paste this Script  *Contact Aquila Tech Support for the full source code.
    • #!/bin/bash
      # =============================================================================
      # AQUILA - Cato Network Integration Setup Script (Linux)
      # Automates: Python/venv setup, catocli install, Bash Wrapper,
      #            Systemd Service, Logrotate + Hourly Timer Override
      # =============================================================================
      
      set -euo pipefail
      
      # -----------------------------------------------
      # Colors for output
      # -----------------------------------------------
      RED='\033[0;31m'
      GREEN='\033[0;32m'
      YELLOW='\033[1;33m'
      CYAN='\033[0;36m'
      NC='\033[0m'
      
      log_info()  { echo -e "${CYAN}[INFO]${NC}  $1"; }
      log_ok()    { echo -e "${GREEN}[OK]${NC}    $1"; }
      log_warn()  { echo -e "${YELLOW}[WARN]${NC}  $1"; }
      log_error() { echo -e "${RED}[ERROR]${NC} $1"; exit 1; }
      
      # -----------------------------------------------
      # Root check
      # -----------------------------------------------
      if [[ "$EUID" -ne 0 ]]; then
        log_error "Please run this script as root or with sudo."
      fi
      
      Please Contact "Aquila Platform Defence and Technical Enablement" for the source code. Thank you!.
  4. Save the Script and change it to executable file.
    • chmod +x setup.sh
  5. Now execute the file in higher privileged.
    • sudo ./setup.sh
  6. Follow the on screen instruction to fully integrate the system.

If you need further assistance, kindly contact our support at support@cytechint.com for prompt assistance and guidance.