Astra. Quick Start

    Installation of the Cesbo Astra is a simple process - enough only one binary file.

    Prepare

    Some distributions do not have a сurl. For Debian-like systems, you can install it with the command:

    apt update
    apt install -y curl

    You must configure a firewall for the Centos operating system:

    #Add service:
    firewall-cmd --permanent --new-service=astra
    firewall-cmd --permanent --service=astra --add-port=8000/tcp
    #Add service to zone:
    firewall-cmd --permanent --zone=public --add-service=astra
    #reload firewall:
    firewall-cmd --reload

    Install

    Download binary file and set execute permission. On the server you may use next command:

    curl -Lo /usr/bin/astra http://cesbo.com/download/astra/5.64/$(uname -m)/astra
    chmod +x /usr/bin/astra

    A valid license file is required to run Astra.
    Follow this guide to install the license
    If you don't have a license, purchase one or request a demo.

    After installation, register service in the systemd - system service manager in most Linux distributions:

    astra init

    Launch Astra:

    systemctl start astra

    After start web-interface will be available on: http://server-address:8000. Default login and password: admin

    By the default, for web-interface and control Astra used port 8000, you may define any port:

    astra init 4000

    Enable automatically launch on system startup:

    systemctl enable astra

    Process management

    Command to manage process with systemd:

    • systemctl start astra - start
    • systemctl stop astra - stop
    • systemctl restart astra - restart
    • systemctl enable astra - turn autorun on
    • systemctl disable astra - turn autorun off

    Check version

    After installation or after update you may check installed version:

    astra -v

    Update

    Before update create a backup with binary and with configuration files

    tar -Pzcf ~/astra-backup.tar.gz /usr/bin/astra /etc/astra

    To extract backup launch next commands:

    rm -f /usr/bin/astra
    tar -Pxf ~/astra-backup.tar.gz

    Install update:

    rm -f /usr/bin/astra
    curl -Lo /usr/bin/astra http://cesbo.com/download/astra/$(uname -m)
    chmod +x /usr/bin/astra

    Restart Astra after update.

    systemctl restart astra

    Uninstall

    Stop service and turn autorun off:

    systemctl stop astra
    systemctl disable astra

    Remove service from the service manager:

    astra remove

    Remove binary file and configuration files:

    rm -rf /usr/bin/astra /etc/astra

    Install archived version

    On the web site also available archive: http://cesbo.com/download/astra/.
    Find requried version, download it, and set execute permission:

    curl -Lo /usr/bin/astra linu-to-requried-version
    chmod +x /usr/bin/astra