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.
AxxonData is available in Linux Ubuntu 20.04 and Debian 11.
To run AxxonData, we recommend using a computer with a 1.0 GHz processor with two or more cores and 2 GB RAM.
Disk subsystem requirements: 4 GB to install AxxonData and at a rate of 1 MB = 1000 events to store the events from the detection tools in the database.
You can use the following formulas to calculate the required space for storing events in the database:
T = E × 60 × 24 × 0.5 ÷ 1024²
where
Required space for D days in GB = C × T × D
where
This installation description is relevant for Ubuntu 20.04 and Debian 11. Installation for other OS versions can be slightly different. |
To install the latest version of Docker from the official repository, do the following:
Update the current package list:
sudo apt update |
Install the packages that allow APT to use HTTPS:
sudo apt install apt-transport-https ca-certificates curl software-properties-common |
Add the CFG key of the official Docker repository to the system:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - |
When installing on Debian 11, this command will look like this:
|
Add the Docker repository to the list of the APT package sources:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" |
When installing on Debian 11, this command will look like this:
|
Update the current package list including the Docker packages from the added repository:
sudo apt update |
Make sure the installation is performed from the Docker repository:
apt-cache policy docker-ce |
Response example:
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 |
Install the Docker:
sudo apt install docker-ce |
Make sure the Docker is running:
sudo systemctl status docker |
The response must contain the active (running) status:
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 |
To install AxxonData, do the following:
Download the distribution archive from the AxxonSoft website and unpack it into any folder.
The default access protocol is HTTPS, which requires manual installation of certificates on client AxxonData computers. If it is necessary to switch to HTTP, run the following command:
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:
sudo ./http_https_switcher.sh HTTPS |
In the terminal, run the command to grant the execution permissions to the scripts (load.sh, once.sh, run.sh, stop.sh).
sudo chmod +x *.sh |
Run the once.sh script.
sudo ./once.sh |
Run the load.sh script.
sudo ./load.sh |
Create the Docker services.
sudo ./run.sh |
Check the services status.
sudo docker service ls |
In the REPLICAS column, all values must be displayed as 1/1.
Install the root certificate. The certificate must be in PEM format with a .crt extension.
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.
Change the AxxonData address in the Axxon One configuration:
AxxonData will be available at vmscloud.local. By default, two test users are available:
These users can create other users, including the administrators. Names of users are case insensitive.
To change the data communication protocol on a previously installed AxxonData, do the following:
Stop AxxonData:
sudo ./stop.sh |
Change the protocol:
sudo ./http_https_switcher.sh HTTP - change https to http sudo ./http_https_switcher.sh HTTPS - change http to https |
Load the changes:
sudo ./load.sh |
Run AxxonData:
sudo ./run.sh |
Check the availability of AxxonData:
sudo docker service ls |
In the REPLICAS column, all values must be displayed as 1/1.
To update AxxonData, do the following:
sudo ./stop.sh |
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. |
sudo chmod +x *.sh |
sudo ./load.sh |
sudo ./run.sh |
AxxonData update is complete.
To remove AxxonData, do the following:
sudo ./stop.sh |
sudo docker stop $(docker ps -qa) |
sudo docker rm $(docker ps -qa) |
sudo docker rmi -f $(docker images -qa) |
sudo docker volume rm $(docker volume ls -q) |
sudo docker network rm $(docker network ls -q) |
sudo docker ps -a |
sudo docker images -a |
sudo docker volume ls |
sudo docker system prune |
sudo dpkg -l | grep -i docker |
sudo apt-get purge -y docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin |
sudo apt-get autoremove -y --purge docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin |
sudo rm -rf /var/lib/docker /etc/docker |
sudo /etc/apparmor.d/docker |
sudo groupdel docker |
sudo -rf /var/run/docker.sock |
sudo rm -rf /opt/AxxonData/ |
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.