Versions Compared

Key

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

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

  1. Install Docker using the official manuals::

    • Expand
      titleUbuntu/Debian...
      1. Prepare the environment:
        1. 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


        2. 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


        3. Configure the repository:
          1. 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
    • Debian: https://docs
            • .docker.com/
      engine/install/debian/.Ubuntu: 
            • linux/ubuntu $(lsb_release -cs) stable"


          1. 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://
      docs
            • download.docker.com/
      engine/install/ubuntu/.
            • linux/ubuntu $(lsb_release -cs) stable"


        1. Update the lists of packages:

          Code Block
          sudo apt-get update


      1. Install and configure the Docker:

        1. Install docker-ce.

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


        2. Add a user to the Docker.

          Code Block
          sudo adduser docker


        3. Install git and the envsubst utility using the command:

          Code Block
          sudo apt-get install git gettext binutils



      Info
      titleNote

      Minimum requirements to launch Axxon One using Docker on Ubuntu:

      • Dual core processor;
      • 4 GB RAM;
      • 200 GB HDD.
      other distribution packages: 



    • Expand
      titleFedora...
      1. Prepare the environment:
        1. Install the packages and set up the repository:

          Code Block
          sudo dnf -y install dnf-plugins-core
          sudo dnf config-manager --add-repo https://
      docs
        1. download.docker.com/
      engine
        1. linux/
      install
        1. fedora/docker-ce.
       
    Connect the Axxon One repository. To do this, do the following:Install git and the envsubst utility using the command:
        1. repo


        2. Refresh metadata cache:

          Code Block
          dnf makecache


      1. Install and configure the Docker:
        1. Install Docker with additional packages

    For Debian and Ubuntu
        1. :

          Code Block
    sudo
        1. dnf 
    apt
        1. -
    get
        1. y install
    git gettext binutilsFor Fedora, RedHat Linux, CentOS
        1.  docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose


        2. 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/. 
  2. Connect the Axxon One repository. To do this, do the following:
    1. 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.

    2. Clone the axxonnextClone the axxonone.docker repository.

      Code Block
      git clone https://src.axxonsoft.dev/bitbucket/scm/one/axxononeaxxonnext.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



    3. Update the cloned repository files:
      1. Go to the axxononeaxxonnext.docker folder:

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

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

      2. Download the contents of the git repository:

        Code Block
        git pull


  3. Create the Axxon One container. To create the Axxon One container, do the following:
    1. Copy the deb packages of Axxon One, Detector Pack and Driver pack to the /home/%username/

      axxonone

      axxonnext.docker/server/build/ folder.

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


    2. Go to the axxononeaxxonnext.docker/server folder.

      Code Block
      cd /home/%username/axxononeaxxonnext.docker/server


    3. Execute the command:

      Code Block
      ./axxon-one.sh build

      The assembly of the Axxon One container will begin.

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

      Code Block
      ./axxon-one.sh list


...