Install ZeusLock on your own server (on-premise)
Install ZeusLock on your own Linux server with k3s and Helm, log in to your dashboard, check the AI detection and point your desktop agents at the server.
For the IT person who installs ZeusLock on the company's own server. Follow the steps in order. At the end you have a running ZeusLock, a dashboard you log in to, and your company's desktop agents checking AI prompts against your own server.
This guide is for on-premise version 0.2.1 (released 25 Nov 2026). Verified step by step on fresh 16 vCPU servers with ZeusLock Caty: chart 0.2.0 on 24 Nov 2026, and the 0.2.1 build with ZeusLock On-Device (step 9) on 25 Nov 2026. The GPU steps for ZeusLock Core were last run on 18 Nov 2026.
Step 0 — What ZeusLock sends you
| Item | What it is |
|---|---|
| Registry account | a robot user robot$customer-<you> and its secret. It can only read (pull) from our registry harbor.zeuslock.ai: the software, your AI model and the desktop-agent installers. |
| Your licence file | license.jwt, a signed file for your plan and its expiry date. You pass it to the install command in step 6. |
Your values.yaml | your settings, filled in by ZeusLock: organisation, first admin, plan, number of users, the AI model for your server. You only edit the two hostnames and one e-mail address. |
| Two scripts | preflight.sh (checks your server, changes nothing) and, for a GPU server, gpu-stack.sh (sets up the NVIDIA driver for Kubernetes). |
| Only with ZeusLock On-Device: a model key file | <you>.model-keys, the keys that open ZeusLock Ama, the AI model inside the On-Device installers. Your licence then also says On-Device and your number of PCs. Keep the file like a password (step 9). |
Your AI model. Before we prepare the package, you run preflight.sh on the server and send us its output. We pick the model that fits; you do not choose it.
| Your server | Model | Minimum |
|---|---|---|
| with an NVIDIA GPU | ZeusLock Core | GPU with 8 GB of memory (16 GB recommended), driver 550 or newer; 4 vCPU, 16 GB RAM, 100 GB free disk |
| without a GPU | ZeusLock Caty | 16 vCPU with AVX2 (AVX-512 recommended), 32 GB RAM, 150 GB free disk |
| evaluation, no model | pattern checks only | 4 vCPU, 8 GB RAM, 50 GB free disk |
Version 0.2.1 installs model set 0.5 (ZeusLock Core 0.5 or ZeusLock Caty 0.5).
Known limits
- ZeusLock On-Device needs version 0.2.1 or later, an On-Device licence and the model key file (step 9). The normal agents carry no AI model: every check goes to your server. When the server cannot be reached, the agent blocks AI prompts until it can (it never sends them unchecked).
- No super-admin console and no content editor on-premise: your organisation and its first admin come from
values.yaml. Sign-in is e-mail + password (no Google / Microsoft sign-in).- The server needs internet access to our registry and a few public sites (list in step 1). An install without internet (air gap) is not available as a standard package.
Step 1 — Check the prerequisites
Different environment? Rocky Linux, Debian, RKE2 or a cluster you already run, your own certificate and internal DNS names, a load balancer in front: see On-premise: install in your environment.
- A Linux server, x86-64, Ubuntu 22.04 or 24.04, sized for your model (table above).
- Root / sudo on the server.
- A fixed public IP and two hostnames that resolve publicly to it, one for the dashboard and one for the API (real DNS names, or for a test
app.<server-ip>.nip.io/api.<server-ip>.nip.io, or the same withsslip.ioand dashes:app.203-0-113-10.sslip.io). - Inbound TCP 80 and 443 open (Let's Encrypt checks port 80 to issue the HTTPS certificate). Keep 6443 (Kubernetes API) and 10250 (kubelet) closed to the internet; open 22 (SSH) only to your admins.
- Outbound HTTPS (443) to the hosts below.
| Host | Used for |
|---|---|
harbor.zeuslock.ai | ZeusLock software, your AI model, agent installers |
ghcr.io, pkg-containers.githubusercontent.com | the AI model server image |
registry-1.docker.io, auth.docker.io, production.cloudfront.docker.com (Docker Hub) | database (PostgreSQL), cache (Valkey), backup tool (restic), k3s system images |
quay.io, cdn01.quay.io | the login system (Keycloak), cert-manager images |
get.k3s.io, update.k3s.io, github.com, api.github.com, release-assets.githubusercontent.com | k3s and cert-manager install (install time only) |
raw.githubusercontent.com, get.helm.sh | Helm install (install time only) |
acme-v02.api.letsencrypt.org | the HTTPS certificate (at install and about every 60 days) |
| your mail server (SMTP) | invitation and password e-mails (optional) |
ZeusLock itself sends no telemetry (telemetry.enabled: false). Two third-party components contact their vendors at run time: k3s's ingress (Traefik) checks update.traefik.io, and the login system's database tool checks config.liquibase.com. Whether blocking those two has any effect has not been tested.
Your users' computers need normal internet to reach the AI tools ZeusLock protects, and HTTPS to your API hostname.
Expected result: you know your two hostnames and the server can reach the hosts above.
Step 2 — Run the hardware check
Copy preflight.sh and values.yaml to the server, then:
chmod 600 values.yaml license.jwt
chmod +x preflight.sh
./preflight.sh --values values.yaml --host app.yourco.com --host api.yourco.comExpected result: the script ends with READY. NOT READY lists what to fix; if the server cannot change, send the output to ZeusLock support. On a GPU server a missing NVIDIA driver is normal at this point (step 4 installs it).
Step 3 — Install Kubernetes (k3s) and Helm
Skip this step if you install into a Kubernetes cluster you already run (1.27 or newer). Replace the robot user and secret with the ones we sent you; keep the single quotes.
sudo mkdir -p /etc/rancher/k3s
sudo tee /etc/rancher/k3s/registries.yaml >/dev/null <<'EOF'
mirrors:
harbor.zeuslock.ai:
endpoint:
- "https://harbor.zeuslock.ai"
configs:
harbor.zeuslock.ai:
auth:
username: "robot$customer-<you>"
password: "<your-robot-secret>"
EOF
sudo chmod 600 /etc/rancher/k3s/registries.yaml
curl -sfL https://get.k3s.io | K3S_KUBECONFIG_MODE=644 sh -
curl -fsSL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
kubectl get nodesExpected result: kubectl get nodes shows your node Ready. helm version shows 3.14 or newer.
Then install cert-manager (it gets the browser-trusted HTTPS certificate):
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.16.3/cert-manager.yaml
kubectl -n cert-manager rollout status deploy/cert-manager-webhook --timeout=180sExpected result: deployment "cert-manager-webhook" successfully rolled out.
Step 4 — GPU server only (ZeusLock Core): install the GPU stack
ZeusLock Caty servers skip this step.
chmod +x gpu-stack.sh
sudo ./gpu-stack.shIf the server had no NVIDIA driver, the script installs it and asks you to reboot; run sudo ./gpu-stack.sh again after the reboot. With a GPU of 16 GB or more you can run sudo ./gpu-stack.sh --time-slicing instead, so model updates have no pause (then also set detection.gpu.timeSlicing: true in values.yaml).
Expected result: the script ends with nvidia.com/gpu on this node: 1 (2 with time-slicing).
Step 5 — Edit values.yaml and log Helm in
Open values.yaml and edit only these lines:
ingress:
hosts:
dashboard: app.yourco.com # where your admins open the dashboard
api: api.yourco.com # the address the agents use
certManager:
email: "it@yourco.com" # Let's Encrypt sends certificate notices hereLeave the rest as ZeusLock wrote it (seed.*, detection.*, llm.model.*). Two optional additions:
# Your SIEM is on a private address (10.x, 172.16-31.x, 192.168.x)? Allow it:
siem:
allowPrivateDestinations: true
# Nightly encrypted backup of the database to an S3 bucket (create the Secret first, step 10):
backup:
enabled: true
existingSecret: zeuslock-backup
repository: s3:https://<your-s3-endpoint>/<bucket>/zeuslock
region: "<bucket region>"Then log Helm in to the registry:
helm registry login harbor.zeuslock.ai -u 'robot$customer-<you>' -p '<your-robot-secret>'Expected result: Login Succeeded.
Step 6 — Install ZeusLock
helm install zeuslock oci://harbor.zeuslock.ai/zeuslock-releases/zeuslock \
--version 0.2.1 \
-n zeuslock --create-namespace \
-f values.yaml \
--set-file license.token=license.jwt \
--wait --timeout 30mThe first start downloads your AI model (ZeusLock Core about 6.4 GB, ZeusLock Caty about 1.3 GB), checks its signature and warms it up: allow 10 to 30 minutes. With ZeusLock Core, the install first checks that Kubernetes sees your GPU and stops with a message if not.
kubectl -n zeuslock get podsExpected result: STATUS: deployed; api, dashboard, keycloak, llm, postgres, valkey and worker all Running, and the jobs db-migrate and keycloak-provision Completed.
Step 7 — Log in
Your login is the adminEmail from values.yaml. Your password is the one ZeusLock gave you, or, if adminPassword was left empty, the generated one:
kubectl -n zeuslock get secret zeuslock-zeuslock-keycloak \
-o jsonpath='{.data.org-admin-password}' | base64 -d ; echoOpen https://app.yourco.com and log in. Change the password in Settings → Security.
Expected result: the dashboard opens on your organisation.
Step 8 — Check the AI detection
helm test zeuslock -n zeuslock --logsIt sends three texts through your installation: a bank account number (expected: alert or block), a jailbreak line (block) and a clean sentence (allow), and prints the model that answered.
Expected result: three PASS lines ending in model=core-0.5 (or model=caty-0.5), then Phase: Succeeded. (Without --logs, Helm prints only Phase: Succeeded.) The dashboard shows the same model in Settings → Protection → AI detection model.
Then create the key your agents will use: in the dashboard open API Keys → Create a key, and copy the zl_… key. Test it:
curl -s -X POST https://api.yourco.com/api/v1/dlp/analyze \
-H "X-API-Key: zl_<your-key>" \
-F "text=my AWS key is AKIAIOSFODNN7EXAMPLE" \
-F "source=browser_extension" -F "platform=chatgpt"Expected result: a JSON answer with "decision" set to alert or block. With ZeusLock Caty on a 16 vCPU server, a short prompt took 1.2–2.0 s (measured with one user).
If the model is unavailable (restarting, overloaded), each check still runs the pattern checks and the rest is allowed; the dashboard shows a "detection degraded" banner and your admins get an e-mail. To block instead while the model is down, set
detection.failMode: closedinvalues.yamland run the upgrade command (step 10).ZeusLock Core runs a second AI pass per prompt to catch jailbreak / prompt-injection attempts. To make each check faster without it: Settings → Protection → Jailbreak protection (AI) (per organisation), or
jailbreak: { enabled: false }invalues.yaml. ZeusLock Caty detects attacks in the same pass, so the switch saves nothing there.
Step 9 — Point the desktop agents at your server
The desktop agent is the same for every customer; it belongs to your server through two values: ServerUrl = https://api.yourco.com and LicenseKey = the zl_… key from step 8. The installers come from your own dashboard (your server pulls them from our registry; each download is in the audit log).
One computer, no GPO or MDM
In the dashboard open Agents → Installing on a single machine? → Local agent install, pick the key, choose the OS tab and follow its five steps. The commands on that page are already filled with your API address and key.
A fleet
Use the guides in our public deployment repository, https://github.com/Zeuslock-ORG/zeuslock-agent-deployment, with your own API address instead of https://api.zeuslock.ai:
| OS | Installer | Where the two values go |
|---|---|---|
| Windows 10/11 x64 | ZeusLock-<version>.msi, silent: msiexec /i ZeusLock-<version>.msi /qn /norestart (no properties) | Group Policy / Intune registry values ServerUrl and LicenseKey under HKLM\SOFTWARE\Policies\ZeusLock (guide docs/01-windows-gpo.md) |
| macOS, Apple silicon | ZeusLock-<version>-arm64.pkg / .dmg | MDM configuration profile, domain com.zeuslock.agent, keys ServerUrl and LicenseKey (docs/02-macos-mdm.md) |
Ubuntu (.deb, amd64 / arm64) | zeuslock-desktop-agent_<version>_amd64.deb | /etc/zeuslock/agent.conf with ServerUrl=… and LicenseKey=… lines (docs/03-linux.md) |
All agent settings and where they go: Agent configuration reference.
Moving a fleet from the ZeusLock cloud to your server
Change ServerUrl and LicenseKey in the same GPO / MDM profile / agent.conf, try one computer first, then restart the agent (or the computer). No reinstall is needed. To go back, put the old values back.
Check one computer
reg query HKLM\SOFTWARE\Policies\ZeusLockExpected result: the computer appears in Agents as Online with Licence Active. Paste My card is 4111 1111 1111 1111 into ChatGPT on it: an incident appears in Incidents on your dashboard.
Browser extension (optional, for browsers without the agent)
Deploy it with your browser policy and set its managed keys apiUrl = https://api.yourco.com and apiKey = the zl_… key.
ZeusLock On-Device
With ZeusLock On-Device each PC checks prompts itself with ZeusLock Ama: the text never leaves the PC, and only the incident (without the text) reaches your dashboard. It needs version 0.2.1 or later, a licence that says On-Device (ZeusLock sets it and your number of PCs) and the model key file from step 0.
- Give your server the model keys (once, and again with each new key file):
helm upgrade zeuslock oci://harbor.zeuslock.ai/zeuslock-releases/zeuslock \ --version <installed> -n zeuslock --reset-then-reuse-values \ --set-file license.token=license.jwt \ --set-file onDevice.modelKeys=<you>.model-keys --wait kubectl -n zeuslock rollout restart deploy/zeuslock-zeuslock-api - Open the On-Device page in the dashboard menu. It has the installers: .msi (GPO, Intune), .exe, .pkg, .dmg and .deb, about 700 MB each.
- Deploy the On-Device installer like the normal one in the table above, with the same
ServerUrlandLicenseKey. It replaces the normal agent. - Check one PC: it shows as Ready on the On-Device page. Paste
My card is 4111 1111 1111 1111into ChatGPT on it: the incident appears in Incidents with Checked on this PC.
A PC must reach your server at least once every 30 days to renew its model key, or it blocks AI tools until it can. A new ZeusLock Ama version comes with a new installer and a new model key file: give your server the new file first (point 1), then deploy the installer. More: ZeusLock On-Device.
Step 10 — Day-2: upgrade, licence renewal, backup
Upgrade to a new version (full procedure and rollback: Upgrade, update the model and renew the licence):
helm upgrade zeuslock oci://harbor.zeuslock.ai/zeuslock-releases/zeuslock \
--version <new version> -n zeuslock --reset-then-reuse-values --wait --timeout 30mExpected result: STATUS: deployed; your organisation, users, policies and incidents are kept.
Renew the licence. ZeusLock sends you a new license.jwt. Pass it with the version you already run (helm list -n zeuslock shows it):
helm upgrade zeuslock oci://harbor.zeuslock.ai/zeuslock-releases/zeuslock \
--version <installed version> -n zeuslock --reset-then-reuse-values \
--set-file license.token=license.jwt --wait
kubectl -n zeuslock rollout restart deploy/zeuslock-zeuslock-api
kubectl -n zeuslock rollout status deploy/zeuslock-zeuslock-apiExpected result: successfully rolled out and the api pod Running (the api reads the licence only when it starts, so the restart is needed). A bad file shows here as CrashLoopBackOff while the old pod keeps serving: run the two commands again with a good file. Editing the licence Secret by hand is undone by the next upgrade. An expired licence gives 14 days of read-only dashboard (detection keeps working); after that the api does not start.
Backup. Create the Secret once, then add the backup: block from step 5 and run the upgrade command:
kubectl -n zeuslock create secret generic zeuslock-backup \
--from-literal=restic-password='<a long random password, kept in your vault>' \
--from-literal=s3-access-key='<key>' --from-literal=s3-secret-key='<secret>'Expected result: every night at 02:30 UTC a job zeuslock-zeuslock-backup-… completes (kubectl -n zeuslock get jobs). Without the restic password the backup cannot be read.
Reboot. Everything comes back on its own after a server reboot (values.yaml keeps the database on a persistent volume: postgresql.persistence: true).
If something fails
| Symptom | Fix |
|---|---|
Pods ImagePullBackOff | Registry login. Check the robot user and secret in /etc/rancher/k3s/registries.yaml (single quotes around robot$…), then sudo systemctl restart k3s. |
api pod CrashLoopBackOff, log mentions the licence | The licence is missing, invalid or expired for more than 14 days. Run the licence-renewal command (step 10) with a valid license.jwt from ZeusLock. |
| Browser says the certificate is not trusted | The certificate has not been issued. Check inbound port 80 is open and kubectl -n zeuslock describe certificate; issuing takes 1–2 minutes after DNS resolves. |
| Install stops with "ZeusLock Core needs an NVIDIA GPU, and no node offers one" | Run sudo ./gpu-stack.sh (step 4), then install again. Nothing was changed by the stopped install. |
llm pod Init:Error | kubectl -n zeuslock logs <llm pod> -c fetch-weights. digest mismatch or signature verification FAILED: contact ZeusLock support (never bypass it). cannot resolve …/model:0.5: your model is not in your registry project yet, or the robot credentials (llm.model.*) are wrong: contact ZeusLock support; the pod retries by itself once it is fixed. |
llm pod Running but not Ready for many minutes, or helm test --logs says regex_fallback | First start: the model is still downloading or warming up. Wait until the pod is Ready, then run helm test zeuslock -n zeuslock --logs again. |
| Agents → Download answers 502 | Your registry account lacks the agent installers. Ask ZeusLock to add them; nothing changes on your side. |
| An agent download stops early (file too small) | The first download of a new version through a slow link can be cut. Download it again (the second one comes from your server's cache), or download it once from a fast connection first. |
Linux agent: undefined symbol: snd_device_name_get_hint at start (minimal Ubuntu without a desktop) | sudo apt install libasound2t64, then start the agent again. Ubuntu Desktop is not affected. |
| Agent tray says Agent not configured | ServerUrl / LicenseKey missing or wrong on that computer (step 9). Fix them, then restart the agent. |
Anything else: send kubectl -n zeuslock get pods and kubectl -n zeuslock logs <failing pod> to ZeusLock support.