> For the complete documentation index, see [llms.txt](https://doc.ozforensics.com/oz-knowledge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.ozforensics.com/oz-knowledge/oz-knowledge/pt-br/guias/administrator-guide/license-server.md).

# Como instalar um servidor de licenciamento offline

Oz Forensics fornece regras de licenciamento flexíveis para todos os produtos. Para oferecer suporte [licenciamento](/oz-knowledge/oz-knowledge/pt-br/geral/conceitos-chave-de-oz-liveness-e-biometria/oz-licensing-options.md) para servidores sem conexão com a Internet, é necessário instalar um servidor de licença offline.

<figure><img src="/files/7cb75571c839f2e2b551db4e1a91829f3bae1e94" alt=""><figcaption></figcaption></figure>

## Como Instalar um Servidor de Licenciamento Offline

É possível instalar o software em qualquer servidor não virtual baseado em Linux. [Entre em contato conosco](Mailto:Info@ozforensics.com) para obter os arquivos necessários e seguir as etapas abaixo.

### 1. Descompacte o Software

```bash
mkdir /opt/oz
cd /opt/oz
tar xzf oz-lic.tar.gz
```

### 2. Instale o Serviço de Licença

```
./LexFloatServer -p product.dat -c config.yml -i --service-name ozlic
```

A instalação está concluída. Para as próximas etapas, use a interface Web na porta `8090`.

### 3. Ative a Licença

Abra a página padrão no seu navegador Web `http://server:8090` e autentique-se com seu login e senha.

![autenticação](/files/95a0aa0c04999c5f9e45c3c1e374f19ba7492d28)

Vá para a`Configurações` seção.

![](/files/6b0e9c74a815f583af761d57e323633edb82722f)

![](/files/95c0168cec0ff568cdd7576a24e339155e821f5b)

#### Ativação online

A maneira mais fácil de ativar o servidor de licença é pela Internet. Insira a chave de licença e clique em `ATIVAR`.

#### Ativação offline

Se o seu servidor não estiver conectado à Internet, use a opção de ativação offline. Clique no link `ALTERNAR PARA ATIVAÇÃO OFFLINE` .

![](/files/eccd785ffbe2cdc9d3b3f656f32ba0cbdc66829f)

Insira a chave de licença e pressione `PRÓXIMO`.

![](/files/fcd1f638f44acc801a14ff2c0f8a217c55432e5c)

Clique em`BAIXAR ARQUIVO DE SOLICITAÇÃO`.

Você receberá o `offline_activation_request.txt` arquivo. Envie-o para [nós](mailto:Info@ozforensics.com) para receber o código de ativação.

Insira o código de ativação na janela de resposta da ativação offline e pressione `ATIVAR`.

## Ativar módulos

### Oz Api Lite (deprecated, no longer supported)

Adicione um parâmetro extra da linha de comando com a `LICENSE_KEY` variável de ambiente com o endereço do host e a porta do servidor de licença.

```bash
docker run -e LICENSE_KEY="http://ip-address:8090" ...
```

### Oz Bio

Crie o `license.key` arquivo com o conteúdo do host da licença e do IP e vincule este arquivo ao seu container:

```bash
echo "http://ip-address:8090" > license.key
docker run -v `pwd`/license.key:/license.key ...
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.ozforensics.com/oz-knowledge/oz-knowledge/pt-br/guias/administrator-guide/license-server.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
