Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

Оглавление
maxLevel3

Manual installation
Якорь
manual_installation
manual_installation

Manual installation means performing all stages of software installation manually without using automatic scripts.

...

This method is recommended for experienced administrators, as it requires knowledge of the characteristics of each component and an understanding of the dependencies between them.

Preparation for installation
Якорь
installation_preparation
installation_preparation

Setting the time zone

When installing Ubuntu-22.04.5, it is not suggested to specify the time zone (UTC time is set by default). The time zone must be set manually (for the video archive, access calendars, etc. to work correctly), for example:

...

Подсказка
titleHow to find out the name of your time zone?

Using the city of Novosibirsk as an example: timedatectl list-timezones | grep "Novosibirsk"

Operating system update

Before starting the installation, it is necessary to update the operating system:

Блок кода
languagebash
sudo apt update && sudo apt upgrade -y

Downloading installation files

Блок кода
languagebash
titleDownloading an archive
wget --no-check-certificate https://archive.eltex-co.ru/evi-raw/evi-1.5.0/evi-1.5.0_ubuntu-22.04.tar
Блок кода
languagebash
titleExtracting archive files
tar -xvf evi-1.5.0_ubuntu-22.04.tar

Installing the database
Якорь
database_install
database_install

PackageDescription
postgresql-17
The database is used in EVI services
clickhouse-server
The database is used in EVI services
clickhouse-client
Client for connecting to the ClickHouse database
libpq5
Library for interaction between EVI services and databases

Postgresql database

Примечание

The minimum version of PostgreSQL is 17.

All services use one database to operate.

It is recommended to place the database next to evi-core and evi-scud.

...

Creating a core database with the core user in PostgreSQL.

Предупреждение

If you are migrating databases, this step is not applicable.

...

Блок кода
titleLog out of the postgres user
\quit

ClickHouse database

To install ClickHouse, it is necessary to run the following commands in the server terminal:

...

Блок кода
languagebash
clickhouse-client --user=default --password=core --query="CREATE USER core IDENTIFIED WITH sha256_password BY 'core'" --query="GRANT CURRENT GRANTS on *.* TO core WITH GRANT OPTION"

Installing required dependencies

Примечание

Each of the modules (evi-core, evi-scud, evi-live, evi-archive, evi-analyzer) requires the libpq5 package (>= 17.2).

If services are installed on different servers, libpq5 must be installed on each of them.

...

Блок кода
languagebash
sudo apt install libpq5

Installing the Core module

Evi-core — core of the platform designed for configuring modules

General requirements for modules

Requirements for the platform core

Below is the minimum configuration required to run the evi-core platform core and PACS module on a single server:

OSCPURAMSDDHDDLAN
Ubuntu 22.042 cores 64-bit x864 GB100 GB100 GB100 Mbps

Installing the Core module

To install the system core, run the following command:

...

Блок кода
languagebash
titleIf the installation ends with a message about unresolved dependencies, use the command
sudo apt-get install -f

Installing the web interface module

EVI Core Web — graphical web interface for system management.

Requirements for the web interface module

The Angie web server must be installed for the web interface module to work.

...

Блок кода
titleInstalling the Angie packet
sudo apt-get install -y angie

Installing the web interface module

To install the web interface module, run the following command:

...

Блок кода
languagebash
titleIf the installation ends with a message about unresolved dependencies, use the command
sudo apt install -f

Installing the PACS module

EVI Scud — access control and management system module designed to organize access control in an organization.

Requirements for the PACS module

The module requires an IPA-ER-020 access control system controller to operate.

The controller firmware version must be 2.3.0 build 52 or higher.

Installation of the PACS module

To install the PACS module, run the following command:

...

Блок кода
languagebash
titleIf the installation ends with a message about unresolved dependencies, use the command
sudo apt install -f

Installing the Video surveillance module
Якорь
video_surveillance_module_installation
video_surveillance_module_installation

EVI Perimeter — combination of video surveillance modules (evi-live, evi-archive, evi-analyzer) designed to receive video streams from cameras and store them in an archive.

PackageDescription
evi-live
Модуль для взаимодействия с камерами видеонаблюдения для платформы EVIModule for interacting with CCTV cameras for the EVI Platform
evi-archive
Модуль для записи архивов с камер для платформы EVIModule for recording camera footage for the EVI Platform
evi-analyzer
Модуль детектора движения для платформы EVIMotion detection module for the EVI Platform

Requirements for the Video surveillance module

The module requires cameras that support RTSP connection.

Preliminary steps

In the evi-live service configuration file, located at /opt/evi-live/evi-live.conf, the extern_host parameter must specify an IP address or domain name that is accessible to users on your local network. 

...

Then proceed to install video surveillance. The extern_host variable will be set automatically in the configuration file.

Installation of the Video surveillance module

To install the Video surveillance module, run the following command:

...

Блок кода
languagebash
titleInstalling packets
extern_host=192.168.50.15                # External or proxy address (ENV: EVILIVE_GLOBAL_EXTERN_HOST)

Installing the Video analytics module

EVI Analytics — video analytics module designed to detect, recognize, count, and track objects according to models.

...

Предупреждение
titleSystem requirements for video analytics

Before starting, it is necessary to read the requirements for the Video analytics module in the  EVI EVI Platform system requirements requirements section.

Requirements for the Video analytics module

Предупреждение
titleUsing virtualization

The video analytics system requires a video card.

To operate in a virtual environment, the hypervisor must support hardware passthrough of PCI/PCI-E devices, including the video card.

Compatibility with virtualization does not ensure stable operation of the video analytics module.

...

OSKernelDriver
Ubuntu 22.04.4 LTSGNU/Linux 6.5.0-44-generic x86_64NVIDIA-SMI 545.29.06
Ubuntu 22.04.4 LTS GNU/Linux 6.5.0-45-generic x86_64NVIDIA-SMI 575.64.05

Manual installation of docker and drivers

Примечание
titleDriver version

It is recommended to use the latest driver available in the OS repository.

...

Блок кода
languagebash
titleExample of nvidia-smi command output
linenumberstrue
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 575.144.03             Driver Version: 575.144.03     CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3080        Off |   00000000:01:00.0 Off |                  N/A |
|  0%   41C    P2            113W /  370W |    3902MiB /  10240MiB |      5%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+
                                                                                         
+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A   2144100      C   tritonserver                                 1296MiB |
|    0   N/A  N/A   2144155      C   tritonserver                                 1296MiB |
|    0   N/A  N/A   2144163      C   tritonserver                                 1296MiB |
+-----------------------------------------------------------------------------------------+

Configuring database access for container connection

Before starting the configuration, it is necessary to stop the EVI services.

...

Блок кода
languagebash
titleStart the evi services
linenumberstrue
sudo systemctl start evi-core.service evi-scud.service evi-live.service evi-archive.service evi-analyzer.service

Loading the image and starting the evi-analytics container

Подсказка

Analytics images have a large file size, so they may take some time to load.

...

Блок кода
languagebash
titleLaunch example
linenumberstrue
bash evi-analytics_1.5.0.sh EFNRS_DB_HOST="192.168.1.10"

Performance verification

Блок кода
languagebash
docker ps --format "table {{.ID}}\t{{.Names}}\t{{.Status}}"
Информация
titleExample of successfully launched containers

CONTAINER ID   NAMES                                                    STATUS
f01deee7d6a5   user-triton1-1                                       Up 23 hours
d70d9e7004ac   user-triton3-1                                       Up 23 hours
c011105320e9   user-triton2-1                                       Up 23 hours
d17d6261648f   user-evi-analytics-haproxy-1            Up 23 hours
fa2db6812f3b    user-evi-analytics-1                             Up 23 hours

Installation checklist

Performance verification

Блок кода
languagebash
titlePerformance verification
sudo systemctl is-active evi-core.service evi-scud.service evi-live.service evi-archive.service evi-analyzer.service

...