Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To install and launch the Axxon One Server One using Docker, do the following:

  1. Install Docker : using the official guides:
    • Debian: https://docs.docker.com/engine/install/debian/.
    • Ubuntu: https://docs.docker.com/engine/install/ubuntu/.
    • Expand
      titleUbuntu/Debian...
      Prepare the environment:

      Install the packages to use the repository via HTTPS.

      Code Block
      sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

      Add official Docker GPG key.

      Code Block
      curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
      Code Block
      sudo apt-key fingerprint 0EBFCD88
      Configure the repository:

      for the x86_64 / amd64 architecture:

      Debian:

      Code Block
      sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"

      Ubuntu:

      Code Block
      sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

      for the armhf architecture:

      Debian:

      Code Block
      sudo add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/debian $(lsb_release -cs) stable"

      Ubuntu:

      Code Block
      sudo add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

      Update the lists of packages:

      Code Block
      sudo apt-get update

      Install and configure the Docker:

      Install docker-ce.

      Code Block
      sudo apt-get install docker-ce docker-compose

      Add a user to the Docker.

      Code Block
      sudo adduser docker

      Install git and the envsubst utility using the command:

      Code Blocksudo apt-get install git gettext binutils
      Prepare the environment:

      Install the packages and set up the repository:

      sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo
      Info
      titleNote

      Minimum requirements to launch Axxon One using Docker on Ubuntu:

      • Dual dual-core processorCPU;
      • 4 GB RAM;
      • 200 GB HDD.
      Expand
      titleFedora...
      Code Block
    • Other: https://downloaddocs.docker.com/linuxengine/fedorainstall/docker-ce.repo

      Refresh metadata cache:

      Code Block
      dnf makecache
      Install and configure the Docker:

      Install Docker with additional packages:

      Code Block
      dnf -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose

      Install git and the envsubst utility using the command:

      Code Block
      dnf install git gettext binutils
    • other distribution packages: https://docs.docker.com/engine/install/. 
    Connect the Axxon One repository. To do this, do the following:
  2. Go to the directory where the container will be located.

    Code Block
    cd /home/%username

    where %username is a username under which the container will be located.

  3. Clone the axxonnext.docker repository.

    Code Block
    git clone https://src.axxonsoft.dev/bitbucket/scm/one/axxonnext.docker.git
    Note
    titleAttention!

    If the "server certificate verification failed" error occurs, execute the following command in the terminal:

    Code Block
    export GIT_SSL_NO_VERIFY=1
    Update the cloned repository files:
  4. Go to the axxonnext.docker folder:

    Code Block
    cd /home/%username/axxonnext.docker/

    where %username is a username under which the container will be created.

  5. Download the contents of the git repository:

    Code Block
    git pull
    Create the Axxon One container. To create the Axxon One container, do the following:

    Copy the deb packages of Axxon One, Detector Pack and Driver pack to the /home/%username/axxonnext.docker/server/build/ folder.

    Code Block
    mv /home/user/Downloads/axxon-* /home/axxonnext.docker/server/build/ 

    Go to the axxonnext.docker/server folder.

    Code Block
    cd /home/%username/axxonnext.docker/server
  6. Execute the command:

    Code Block
    ./axxon-one.sh build

    The assembly of the Axxon One container will begin.

  7. To view the list of the assembled containers after the operation is complete, execute the command:

    Code Block
    ./axxon-one.sh list

The Axxon One Server launch using Docker is complete.

...

  1. Open the link to select the required Axxon One Docker image.

  2. Next to the required Docker image, click the button to copy the command.
    Image Added

  3. Paste the copied command into the terminal and execute it.

  4. Launch Docker using the following command:

    Code Block
    docker run <image version>

    For example:

    Code Block
    docker run axxonsoft/axxon-one:2.0.0.188


  5. Enter the required IP address, login and password to launch the Axxon One Client (when launching Axxon One for the first time, enter the following login and password: root/root).
    Info
    titleNote
    • To determine the IP address to connect to, execute the following command:
      Code Block
      docker inspect <container id> | grep "IPAddress"

      To determine the <container id>, execute the following command:
      Code Block
      docker ps

      or
      Code Block
      docker container ls


    • To check the availability of the Server, execute the following command:
      Code Block
      ping <ip address>
    • To view the running processes, execute the following command:
      Code Block
      docker top <container name>

Installation and launch of Axxon One using Docker is complete.

...