# License Server

Oz Forensics provides flexible licensing rules for all products. To support licensing for servers without an Internet connection, you need to install an offline license server.

<figure><img src="/files/t3lBD4cT4sxbFbqXuZyd" alt=""><figcaption></figcaption></figure>

## How to Install an Offline Licensing Server

You can install the software on any Linux-based non-virtual server. [Contact us](Mailto:Info@ozforensics.com) to get the files needed and follow the steps below.

### 1. Unpack the Software

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

### 2. Install the License Service

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

The installation is complete. For the next steps, use the Web interface on port `8090`.

### 3. Activate the License

Open the default page in your Web browser `http://server:8090` and authorize with your login and password.

![авторизация](/files/-Miq8P8E_2bD2pxVvfv4)

Go to the`Settings` section.

![](/files/-Miq9_HOj-A_tl4Mw8va)

![](/files/-MiqBkF6EIk2J0DBaYEV)

#### Online activation

The easiest way to activate the license server is via the Internet. Enter the license key and click `ACTIVATE`.

#### Offline activation

If your server isn't connected to the Internet, use the offline activation option. Click the `SWITCH TO OFFLINE ACTIVATION` link.

![](/files/-MiqByxyTpTk8MxTbHXs)

Enter the license key and hit `NEXT`.

![](/files/-MiqB8YCLY9wVZ5Y9UaW)

Click`DOWNLOAD REQUEST FILE`.

You'll get the `offline_activation_request.txt` file. Send it to [us](mailto:Info@ozforensics.com) to receive the activation code.

Enter the activation code in the offline activation response window and hit `ACTIVATE`.

## Activate modules

### Oz Api Lite

Add an extra command line parameter with the `LICENSE_KEY` environment variable with license server host address and port.

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

### Oz Bio

Create the `license.key` file with the content of license host and IP and bind this file to your container:

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


---

# Agent Instructions: 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:

```
GET https://doc.ozforensics.com/oz-knowledge/guides/administrator-guide/license-server.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
