Install from Console Installer
To install FindFace Enterprise Server, use a developer-friendly console installer.
Tip
Be sure to consult the system requirements prior.
Do the following:
Download the installer file
<findface-security-and-server-xxx>.run
.Put the
.run
file into some directory on the designated host (for example,/home/username
).From this directory, make the
.run
file executable.chmod +x <findface-security-and-server-xxx>.run
Execute the
.run
file.sudo ./<findface-security-and-server-xxx>.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 Server
.Installation type:
1
: install FindFace Enterprise Server standalone.2
: install FindFace Enterprise Server and configure it to interact with additional remotefindface-video-worker
instances.Tip
To install only
findface-video-worker
on a host, refer to Additional findface-video-worker deployment on remote hosts.3
: install only the apt repository that can be further used for the step-by-step deployment.4
: fully customized installation.Important
Be sure to manually install neural network models on the host(s) with
findface-extraction-api
.
Type of
findface-video-worker
package: CPU or GPU.Type of
findface-extraction-api
package: CPU or GPU.
After all the questions are answered, the answers will be saved to a file
/tmp/<findface-installer-*>.json
. You can edit this file and use it to install FindFace Enterprise Server on other hosts without having to answer the questions again.Should you choose the standalone installation, the FindFace Enterprise Server components will be automatically installed, configured, and/or started in the following configuration:
Service
Configuration
etcd
Installed and started.
memcached
Installed and started.
nginx
Installed and started.
findface-ntls
Installed and started.
findface-tarantool-server
Installed and started. The number of instances (shards) is calculated using the formula:
N = max(min(mem_mb // 2000, cpu_cores), 1)
, i.e. it is equal to the RAM size in MB divided by 2000, or the number of CPU physical cores (but at least 1 shard).findface-extraction-api
Installed and started.
findface-sf-api
Installed and started.
findface-facerouter
Installed and started.
findface-upload
Installed.
findface-video-manager
Installed and started.
findface-video-worker-*
Installed and started.
findface-data-*
Neural network models for face and face features recognition (gender, age, emotions, glasses, beard). Installed.
findface-gpudetector-data/
NTechLab gpu detector data. Installed.
jq
Installed. Used to pretty-print API responses from FindFace Enterprise Server.
After the installation is complete, the following output will be shown on the console:
Tip
Be sure to save this data: you will need it later.
############################################################################# # Installation is complete # ############################################################################# - upload your license to http://127.0.0.1:3185/ - FindFace SF-API address: http://172.20.77.78:18411/ - FindFace VideoManager address: http://172.20.77.78:18411/
Upload the FindFace Enterprise Server license file via the
findface-ntls
web interfacehttp://<ntls_host_IP_address>:3185
.Note
The IP address is shown in the links to the FindFace web services in the following way: as an external IP address if the host belongs to a network, or
127.0.0.1
otherwise.To automatically install FindFace Enterprise Server on another host without answering the installation questions, use the
/tmp/<findface-installer-*>.json
file. Execute:sudo ./<findface-security-and-server-xxx>.run -f /tmp/<findface-installer-*>.json
Tip
You can find the installation file example in Installation File.