.. _video-worker-installer: Additional ``findface-video-worker`` deployment on remote hosts ------------------------------------------------------------------- To install only the ``findface-video-worker`` service, do the following: .. tip:: Before deployment, be sure to consult the :ref:`system requirements `. .. tip:: If you have several video cards on your server, see :ref:`video-cards` before deploying ``findface-video-worker-gpu``. #. Download the installer file ``findface-security-and-server-4.4.run``. #. Put the ``.run`` file into some directory on the designated host (for example, ``/home/username``). #. From this directory, make the ``.run`` file executable. .. code:: chmod +x findface-security-and-server-4.4.run #. Execute the ``.run`` file. .. code:: sudo ./findface-security-and-server-4.4.run The installer will ask you a few questions and perform several automated checks to ensure that the host meets the system requirements. Fill out the prompts appropriately once requested. The questions are the following: #. Product to install: FindFace Video Worker. #. Type of ``findface-video-worker`` package: CPU or GPU. #. IP address of the ``findface-security`` host. After that, the installation process will automatically begin. .. note:: The answers will be saved to a file ``/tmp/.json``. You can edit this file and use it to install FindFace Security on other hosts without having to answer the questions again. .. note:: If you chose to install ``findface-ntls`` and/or ``findface-video-manager`` on different hosts than that with ``findface-security``, specify their IP addresses in the ``findface-video-worker`` configuration file after the installation. .. code:: sudo vi /etc/findface-video-worker-cpu.ini sudo vi /etc/findface-video-worker-gpu.ini In the ``ntls-addr`` parameter, specify the ``findface-ntls`` host IP address. .. code:: ntls-addr=127.0.0.1:3133 In the ``mgr-static`` parameter, specify the ``findface-video-manager`` host IP address, which provides ``findface-video-worker`` with settings and the video stream list. .. code:: mgr-static=127.0.0.1:18811 .. tip:: To automatically install ``findface-video-worker`` on another host without answering the installation questions, use the ``/tmp/.json`` file. Execute: .. code:: sudo ./findface-security-and-server-4.4.run -f /tmp/.json You can find an example of the installation file in :ref:`installation-file`. .. important:: To preserve the FindFace Security compatibility with the installation environment, we highly recommend you to disable the Ubuntu automatic update. In this case, you will be able to update your OS manually, fully controlling which packages to update. To disable the Ubuntu automatic update, execute the following commands: .. code:: sudo apt-get remove unattended-upgrades sudo systemctl stop apt-daily.timer sudo systemctl disable apt-daily.timer sudo systemctl disable apt-daily.service sudo systemctl daemon-reload