Page History
...
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.
List of supported Linux OS
...
Tip |
---|
...
...
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
- T is a total number of events in GB per day per camera;
- E is an average number of events per camera per minute;
- 60—minutes;
- 24—hours in a day;
- 0.5—coefficient;
- 1024²—GB.
Required space for D days in GB = C × T × D
where
- С is a total number of cameras;
- T is a total number of events in GB per day per camera;
- D is days of data storage.
Docker installation
Info | ||
---|---|---|
| ||
This installation description is relevant for Ubuntu 20.04 and Debian 11. Installation for other OS versions can be slightly different. |
...
Download the distribution archive from the AxxonSoft website and unpack it into any folder.
The default access protocol is HTTPS , which that requires manual installation of certificates on client AxxonData computers. If it is necessary to switch to HTTP, run the following command:
Code Block 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 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).
Code Block sudo chmod +x *.sh
Run the once.sh script.
Code Block sudo ./once.sh
Run the load.sh script.
Code Block sudo ./load.sh
Create the Docker services.
Code Block sudo ./run.sh
Check the services status.
Code Block sudo docker service ls
In the REPLICAS column, all values must be displayed as 1/1.
- Change the name of the vmscloud.local domain in the /etc/hosts file.
Install the root certificate. The certificate must be in PEM format with a .crt extension.
Code Block 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:
- Stop the Server.
- 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.
- Start the Server.
- 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 protocol | Address |
---|---|
HTTPS | https://vmscloud.local |
HTTP | http://vmscloud.local |
By default, two test users are available:
- USER NAME OR EMAIL—Admin1, the password is PASSWORD—admin1password.
- USER NAME OR EMAIL—Admin2, the password is 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:
- Stop AxxonData:
Code Block sudo ./stop.sh
- In the cloud.env file, specify the values of the variables:
- AXXONCLOUD_EMAIL_TYPE—type of the Server.
- AXXONCLOUD_SMTP_SERVER—address of the SMTP server for outgoing mail.
- AXXONCLOUD_SMTP_PORT—port number used by the SMTP server for outgoing mail.
- AXXONCLOUD_SMTP_USERNAME—full email of the account used to send messages on the SMTP server for outgoing mail.
- AXXONCLOUD_SMTP_PASSWORD—16-character code without spaces generated when configuring the SMTP server for outgoing mail.
- Load changes:
Code Block sudo ./load.sh
- Run AxxonData:
Code Block sudo ./run.sh
Configuration of the SMTP server is complete.
Updating the data communication protocol on the previously installed AxxonData
...
- Stop AxxonData:
Code Block sudo ./stop.sh
- Move the uploads folder to the folder with the new version of AxxonData:
Note title Attention! 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.
- 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 sudo chmod +x *.sh
- Load changes:
Code Block sudo ./load.sh
- If you configured an SMTP server, you must update the variable data in the cloud.env file (see Configuring the SMTP server).
- Update the data communication protocol (see Updating the data communication protocol on the previously installed AxxonData).
- Start AxxonData:
Code Block sudo ./run.sh
...
- Remove all containers:
- Stop AxxonData:
Code Block sudo ./stop.sh
- Stop all Docker containers:
Code Block sudo docker stop $(docker ps -qa)
- Remove all Docker containers:
Code Block sudo docker rm $(docker ps -qa)
- Remove all images:
Code Block sudo docker rmi -f $(docker images -qa)
- Remove all volumes:
Code Block sudo docker volume rm $(docker volume ls -q)
- Remove all networks:
Code Block sudo docker network rm $(docker network ls -q)
- Press Y to confirm.
The following commands must not output any items:Code Block sudo docker ps -a
Code Block sudo docker images -a
Code Block sudo docker volume ls
- Remove all unused images:
Code Block sudo docker system prune
- Press Y to confirm.
- Stop AxxonData:
- Remove Docker. Enter the commands one by one:
Code Block sudo dpkg -l | grep -i docker
Code Block sudo apt-get purge -y docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin
Code Block sudo apt-get autoremove -y --purge docker-buildx-plugin docker-ce docker-ce-cli docker-ce-rootless-extras docker-compose-plugin
Code Block sudo rm -rf /var/lib/docker /etc/docker
Code Block sudo /etc/apparmor.d/docker
Code Block sudo groupdel docker
Code Block sudo -rf /var/run/docker.sock
- Remove the uploads folder and the AxxonData folder:
Code Block sudo rm -rf /opt/AxxonData/
Note title Attention! 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.
...