Файл с параметрами установки

Ответы на вопросы будут сохранены в файл /tmp/<findface-installer-*>.json. Отредактируйте его и используйте для установки FindFace Enterprise Server на других серверах, не отвечая повторно на вопросы инсталлятора.

Совет

Подробная информация об инсталляторе FindFace Enterprise Server приведена в разделе Install from Console Installer.

Важно

Обязательно удалите поля *.config, exp_ip и int_ip перед установкой FindFace Enterprise Server на сервере с другим IP-адресом.

{
  "ignore_lowmem": true,
  "findface-security.config": {
    "EXTERNAL_ADDRESS": "http://172.20.77.78"
  },
  "inter_ip.bind": "127.0.0.1",
  "memcached.config": {
    "listen_host": "127.0.0.1",
    "max_memory": 1024,
    "item_size": 16
  },
  "findface-video-worker.config": {
    "FKVD_WRK_CAP": "10",
    "FKVD_NTLS_ADDR": "127.0.0.1:3133",
    "streamer": [
      "port = 18999",
      "url = ws://127.0.0.1:18999/stream/"
    ],
    "FKVD_MGR_ADDR": "127.0.0.1:18811"
  },
  "ext_ip.bind": "0.0.0.0",
  "findface-data.models": [
    "./findface-data-age.v1-cpu_3.0.0_amd64.deb",
    "./findface-data-age.v1-gpu_3.0.0_amd64.deb",
    "./findface-data-beard.v0-cpu_3.0.0_amd64.deb",
    "./findface-data-beard.v0-gpu_3.0.0_amd64.deb",
    "./findface-data-grapefruit-160-cpu_3.0.0_amd64.deb",
    "./findface-data-grapefruit-160-gpu_3.0.0_amd64.deb",
    "./findface-data-grapefruit-480-cpu_3.0.0_amd64.deb",
    "./findface-data-grapefruit-480-gpu_3.0.0_amd64.deb",
    "./findface-data-emotions.v1-cpu_3.0.0_amd64.deb",
    "./findface-data-emotions.v1-gpu_3.0.0_amd64.deb",
    "./findface-data-gender.v2-cpu_3.0.0_amd64.deb",
    "./findface-data-gender.v2-gpu_3.0.0_amd64.deb",
    "./findface-data-glasses3.v0-cpu_3.0.0_amd64.deb",
    "./findface-data-glasses3.v0-gpu_3.0.0_amd64.deb",
    "./findface-data-liveness.v1-gpu_3.0.0_amd64.deb"
  ],
  "findface-video-worker.variant": "cpu",
  "inter_ip.advertised": "127.0.0.1",
  "product": "security",
  "findface-ntls.config": {
    "NTLS_LISTEN": "127.0.0.1:3133",
    "NTLS_LICENSE_DIR": "/opt/ntech/license",
    "NTLS_LISTEN_UI": "127.0.0.1:3185"
  },
  "ext_ip.advertised": "172.20.77.78",
  "tnt_instances": 2,
  "findface-facerouter.config": {
    "port": "18820",
    "host": "127.0.0.1",
    "plugin_source": "dir",
    "plugin_dir": "/etc/findface-facerouter-plugins",
    "sfapi_url": "http://127.0.0.1:18411"
  },
  "findface-sf-api.config": {
    "storage-api": {
      "shards": [
        {
          "slave": "",
          "master": "http://127.0.0.1:8101/v2/"
        },
        {
          "slave": "",
          "master": "http://127.0.0.1:8102/v2/"
        }
      ]
    },
    "listen": "127.0.0.1:18411",
    "extraction-api": {
      "extraction-api": "http://127.0.0.1:18666"
    }
  },
  "type": "stand-alone",
  "findface-extraction-api.variant": "cpu",
  "findface-video-manager.config": {
    "rpc": {
      "listen": "127.0.0.1:18811"
    },
    "listen": "127.0.0.1:18810",
    "master": {
      "self_url": "127.0.0.1:18811",
      "self_url_http": "127.0.0.1:18811"
    },
    "ntls": {
      "url": "http://127.0.0.1:3185/",
      "enabled": false
    }
  },
  "components": [
    "findface-data",
    "memcached",
    "etcd",
    "redis",
    "postgresql",
    "findface-ntls",
    "findface-extraction-api",
    "findface-sf-api",
    "findface-upload",
    "findface-video-manager",
    "findface-video-worker",
    "findface-security",
    "findface-tarantool-server"
  ],
  "findface-tarantool-server.config": {
    "shard-002": {
      "TNT_LISTEN": "127.0.0.1:33002",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-002",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_PORT": "8102",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/ffsecurity/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133"
    },
    "shard-001": {
      "TNT_LISTEN": "127.0.0.1:33001",
      "TNT_DATA_DIR": "/opt/ntech/var/lib/tarantool/shard-001",
      "TNT_META_SCHEME": "meta_scheme",
      "TNT_FF_LISTEN_PORT": "8101",
      "TNT_FF_LISTEN_IP": "127.0.0.1",
      "TNT_EXTRA_LUA": "\ndofile(\"/etc/ffsecurity/tnt_schema.lua\")\n",
      "TNT_FF_NTLS": "127.0.0.1:3133"
    }
  },
  "findface-extraction-api.config": {
    "extractors": {
      "instances": 1,
      "models": {
        "emotions": "",
        "age": "",
        "gender": "",
        "face": "face/grapefruit_480.cpu.fnk"
      }
    },
    "nnd": {
      "quality_estimator": true
    },
    "listen": "127.0.0.1:18666",
    "license_nils_server": "127.0.0.1:3133"
  }
}

Для того чтобы автоматически установить FindFace Enterprise Server на другом физическом сервере, не отвечая на вопросы инсталлятора, используйте следующую команду:

sudo ./findface-security-2.1.0-server-3.1.0.run -f /tmp/<findface-installer-*>.json