Versions Compared

Key

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


Section


Column
width50%


Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:
Table of Contents


Column


General information

AxxonData is a local version of the AxxonNet cloud service and it is used to work in local networks only. AxxonData is compatible with Axxon One version 1.0.4 and with the Axxon Next archive product.

Tip

Minimum requirements for installing and running AxxonData

Selecting an operating system for AxxonData installation

Ports used for AxxonData operation

Docker installation

Info
titleNote

This installation description is relevant for Ubuntu 20.04 and Debian 12. Installation for other OS versions can be slightly different.

To install the latest version of Docker from the official repository, do the following:

  1. Update the current package list:

    Code Block
    languagebash
    sudo apt update
  2. Install the packages that allow APT to use HTTPS:

    Code Block
    languagebash
    sudo apt install apt-transport-https ca-certificates curl software-properties-common
  3. Add the CFG key of the official Docker repository to the system:

    Code Block
    languagebash
    curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
    Info
    titleNote

    When installing on Debian 12, this command will look like this:

    Code Block
    languagebash
    curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
  4. Add the Docker repository to the list of the APT package sources:

    Code Block
    languagebash
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
    Info
    titleNote

    When installing on Debian 12, this command will look like this:

    Code Block
    languagebash
    echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
  5. Update the current package list including the Docker packages from the added repository:

    Code Block
    languagebash
    sudo apt update
  6. Make sure the installation is performed from the Docker repository:

    Code Block
    languagebash
    apt-cache policy docker-ce
    Response example:
    Code Block
    languagebash
    docker-ce:
      Installed: (none)
      Candidate: 18.03.1~ce~3-0~ubuntu
      Version table:
         18.03.1~ce~3-0~ubuntu 500
            500 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages
  7. Install the Docker:

    Code Block
    languagebash
    sudo apt install docker-ce

    Info
    titleNote

    When installing on Debian 12, this command will look like this:

    Code Block
    languagebash
    sudo apt install docker-ce docker-ce-cli containerd.io


  8. Make sure the Docker is running:

    Code Block
    languagebash
    sudo systemctl status docker
    The response must contain the active (running) status:
    Code Block
    languagebash
    docker.service - Docker Application Container Engine
       Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
       Active: active (running) since Thu 2018-07-05 15:08:39 UTC; 2min 55s ago
         Docs: https://docs.docker.com
     Main PID: 10096 (dockerd)
        Tasks: 16
       CGroup: /system.slice/docker.service
               ├─10096 /usr/bin/dockerd -H fd://
               └─10113 docker-containerd --config /var/run/docker/containerd/containerd.toml

AxxonData installation

To install AxxonData, do the following:

  1. Download the distribution archive from the AxxonSoft website and unpack it into any folder.

  2. The default access protocol is HTTPS that requires manual installation of certificates on client AxxonData computers. If it is necessary to switch to HTTP, run the following command:

    Code Block
    languagebash
    sudo ./http_https_switcher.sh HTTP

    HTTP is an insecure protocol that does not require a certificate to be installed. To switch back to HTTPS, run the following command:

    Code Block
    languagebash
    sudo ./http_https_switcher.sh HTTPS
  3. In the terminal, run the command to grant the execution permissions to the scripts (load.sh, once.sh, run.sh, stop.sh).

    Code Block
    languagebash
    sudo chmod +x *.sh
  4. Run the once.sh script.

    Code Block
    languagebash
    sudo ./once.sh
  5. Run the load.sh script.

    Code Block
    languagebash
    sudo ./load.sh
  6. Create the Docker services.

    Code Block
    languagebash
    sudo ./run.sh
  7. Check the services status.

    Code Block
    languagebash
    sudo docker service ls

    In the REPLICAS column, all values must be displayed as 1/1.

  8. Change the name of the vmscloud.local domain in the /etc/hosts file.
  9. Install the root certificate. The certificate must be in PEM format with a .crt extension.

    Code Block
    languagebash
    sudo mkdir /usr/share/ca-certificates/extra
    sudo cp rootCA.pem /usr/share/ca-certificates/extra/rootCA.crt
    sudo dpkg-reconfigure ca-certificates
    If you use Firefox, then you must add the rootCA certificate to the Firefox Certificates yourself.
  10. Change the AxxonData address in the Axxon One configuration:

    1. Stop the Server.
    2. In the infra.dictionar file, replace the address of the CLOUD_URL parameter with vmscloud.local. If the Axxon One Server is installed in Linux OS, the file will be located in the /opt/AxxonSoft/AxxonOne/Dictionary.local directory. If Axxon One Server is installed in Windows OS, the file will be located in the C:\Program Files\AxxonSoft\AxxonOne\Dictionary.local directory. 
    3. Start the Server.
  11. On the Axxon One Server, enter the address of the computer on which AxxonData is installed in the hosts file (C:\Windows\System32\drivers\etc or /etc/hosts). For example, 192.168.11.12 vmscloud.local. If AxxonData is installed on the same computer with the Axxon One Server, you can skip this step.

Installation of AxxonData is complete.

AxxonData will be available at:

Connection protocolAddress
HTTPShttps://vmscloud.local
HTTPhttp://vmscloud.local

By default, two test users are available:

  1. USER NAME—Admin1, PASSWORD—admin1password.
  2. USER NAME—Admin2, PASSWORD—admin2password. 

These users can create other users, including the administrators. Names of users are case insensitive.

Configuring the SMTP server

To send email notifications, you must specify the parameters of the SMTP server. If you don't want to send notifications, you can skip this step. To set up an SMTP server, do the following:

  1. Stop AxxonData:
    Code Block
    languagebash
    sudo  ./stop.sh
  2. In the cloud.env file, specify the values of the variables:
    1. AXXONCLOUD_EMAIL_TYPE—type of the Server.
    2. AXXONCLOUD_SMTP_SERVER—address of the SMTP server for outgoing mail.
    3. AXXONCLOUD_SMTP_PORT—port number used by the SMTP server for outgoing mail.
    4. AXXONCLOUD_SMTP_USERNAME—full email of the account used to send messages on the SMTP server for outgoing mail.
    5. AXXONCLOUD_SMTP_PASSWORD—16-character code without spaces generated when configuring the SMTP server for outgoing mail.
  3. Load changes:
    Code Block
    languagebash
    sudo  ./load.sh
  4. Run AxxonData:
    Code Block
    languagebash
    sudo  ./run.sh

Configuration of the SMTP server is complete.

Updating the data communication protocol on the previously installed AxxonData

To change the data communication protocol on a previously installed AxxonData, do the following:

  1. Stop AxxonData:

    Code Block
    languagebash
    sudo  ./stop.sh
  2. Change the protocol:

    Code Block
    languagebash
    sudo ./http_https_switcher.sh HTTP - change https to http
    sudo ./http_https_switcher.sh HTTPS - change http to https
  3. Load the changes:

    Code Block
    languagebash
    sudo  ./load.sh
  4. Run AxxonData:

    Code Block
    languagebash
    sudo  ./run.sh
  5. Check the availability of AxxonData:

    Code Block
    languagebash
    sudo docker service ls

In the REPLICAS column, all values must be displayed as 1/1.

The data communication protocol on the previously installed AxxonData is updated.

Updating AxxonData

To update AxxonDatado the following:

  1. Stop AxxonData:
    Code Block
    languagebash
    sudo  ./stop.sh
  2. Move the uploads folder to the folder with the new version of AxxonData:
    Note
    titleAttention!

    The uploads folder is located in the /opt/AxxonData/uploads/ folder. In AxxonData 3.9 and earlier, the folder is located in the root directory.

  3. In the terminal, run the command to grant the execution permissions to the scripts (load.sh, once.sh, run.sh, stop.sh) in the folder with the new AxxonData version:
    Code Block
    languagebash
    sudo chmod +x *.sh
  4. Load changes:
    Code Block
    languagebash
    sudo  ./load.sh
  5. If you configured an SMTP server, you must update the variable data in the cloud.env file (seeConfiguring the SMTP server).
  6. Update the data communication protocol (see Updating the data communication protocol on the previously installed AxxonData). 
  7. Start AxxonData:
    Code Block
    languagebash
    sudo  ./run.sh

AxxonData update is complete.

Removing AxxonData 

To remove AxxonData, do the following:

  1. Remove all containers:
    1. Stop AxxonData:
      Code Block
      languagebash
      sudo  ./stop.sh
    2. Stop all Docker containers:
      Code Block
      languagebash
      sudo docker stop $(docker ps -qa)
    3. Remove all Docker containers:
      Code Block
      languagebash
      sudo docker rm $(docker ps -qa)
    4. Remove all images:
      Code Block
      languagebash
      sudo docker rmi -f $(docker images -qa)
    5. Remove all volumes:
      Code Block
      languagebash
      sudo docker volume rm $(docker volume ls -q)
    6. Remove all networks:
      Code Block
      languagebash
      sudo docker network rm $(docker network ls -q)
    7. Press Y to confirm.
      The following commands must not output any items:
      Code Block
      languagebash
      sudo docker ps -a
      Code Block
      languagebash
      sudo docker images -a
      Code Block
      languagebash
      sudo docker volume ls
    8. Remove all unused images:
      Code Block
      languagebash
      sudo docker system prune
    9. Press Y to confirm.
  2. Remove Docker. Enter the commands one by one:
    Code Block
    languagebash
    sudo dpkg -l | grep -i docker
    Code Block
    languagebash
    sudo apt-get purge -y docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin
    Code Block
    languagebash
    sudo apt-get autoremove -y --purge docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin
    Code Block
    languagebash
    sudo rm -rf /var/lib/docker /etc/docker
    Code Block
    languagebash
    sudo /etc/apparmor.d/docker
    Code Block
    languagebash
    sudo groupdel docker
    Code Block
    languagebash
    sudo -rf /var/run/docker.sock
  3. Remove the uploads folder and the AxxonData folder:
    Code Block
    languagebash
    sudo rm -rf /opt/AxxonData/
    Note
    titleAttention!

    The uploads folder is located in the /opt/AxxonData/uploads/ folder. In AxxonData 3.9 and earlier, the folder is located in the root directory.

Removing AxxonData is complete.