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:
...
| Подсказка |
|---|
| title | How 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:
| Блок кода |
|---|
|
sudo apt update && sudo apt upgrade -y |
Downloading installation files
| Блок кода |
|---|
| language | bash |
|---|
| title | Downloading 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 |
| Блок кода |
|---|
| language | bash |
|---|
| title | Extracting archive files |
|---|
|
tar -xvf evi-1.5.0_ubuntu-22.04.tar |
Installing the database
| Якорь |
|---|
| database_install |
|---|
| database_install |
|---|
|
| Package | Description |
|---|
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.
...
| Блок кода |
|---|
| title | Log out of the postgres user |
|---|
|
\quit |
ClickHouse database
To install ClickHouse, it is necessary to run the following commands in the server terminal:
...
| Блок кода |
|---|
|
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. |
...
| Блок кода |
|---|
|
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:
| OS | CPU | RAM | SDD | HDD | LAN |
|---|
| Ubuntu 22.04 | 2 cores 64-bit x86 | 4 GB | 100 GB | 100 GB | 100 Mbps |
Installing the Core module
To install the system core, run the following command:
...
| Блок кода |
|---|
| language | bash |
|---|
| title | If 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.
...
| Блок кода |
|---|
| title | Installing the Angie packet |
|---|
|
sudo apt-get install -y angie |
Installing the web interface module
To install the web interface module, run the following command:
...
| Блок кода |
|---|
| language | bash |
|---|
| title | If 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:
...
| Блок кода |
|---|
| language | bash |
|---|
| title | If 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.
| Package | Description |
|---|
evi-live | Модуль для взаимодействия с камерами видеонаблюдения для платформы EVI |
evi-archive | Модуль для записи архивов с камер для платформы EVI |
evi-analyzer | Модуль детектора движения для платформы EVI |
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:
...
| Блок кода |
|---|
| language | bash |
|---|
| title | Installing 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.
...
| Предупреждение |
|---|
| title | System 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
| Предупреждение |
|---|
| title | Using 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. |
...
| OS | Kernel | Driver |
|---|
| Ubuntu 22.04.4 LTS | GNU/Linux 6.5.0-44-generic x86_64 | NVIDIA-SMI 545.29.06 |
| Ubuntu 22.04.4 LTS | GNU/Linux 6.5.0-45-generic x86_64 | NVIDIA-SMI 575.64.05 |
Manual installation of docker and drivers
| Примечание |
|---|
|
It is recommended to use the latest driver available in the OS repository. |
...
| Блок кода |
|---|
| language | bash |
|---|
| title | Example of nvidia-smi command output |
|---|
| linenumbers | true |
|---|
|
+-----------------------------------------------------------------------------------------+
| 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.
...
| Блок кода |
|---|
| language | bash |
|---|
| title | Start the evi services |
|---|
| linenumbers | true |
|---|
|
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. |
...
| Блок кода |
|---|
| language | bash |
|---|
| title | Launch example |
|---|
| linenumbers | true |
|---|
|
bash evi-analytics_1.5.0.sh EFNRS_DB_HOST="192.168.1.10" |
| Блок кода |
|---|
|
docker ps --format "table {{.ID}}\t{{.Names}}\t{{.Status}}" |
| Информация |
|---|
| title | Example 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
| Блок кода |
|---|
| language | bash |
|---|
| title | Performance verification |
|---|
|
sudo systemctl is-active evi-core.service evi-scud.service evi-live.service evi-archive.service evi-analyzer.service |
...