Gardience Documentation gardience.com →
Docs / Installation

Install from one ISO

For networks with no internet access, or anyone who wants a server with nothing to prepare: fill in one settings file, build one ISO, and boot a server or virtual machine from it. It installs the operating system, Docker Engine, and Gardience with no questions, then restarts with the console running. Everything it needs is on the ISO; nothing is downloaded and no outside service is involved.

What you need

#

1. Fill in the settings file

#

The offline bundle carries a commented example, install/appliance.example.yaml. Copy it and fill it in:

hostname: gardience.example.com     # in the console's certificate; agents use it to reach the server
network: dhcp                       # or static, with address, gateway, and dns
timezone: America/Chicago
disk: auto                          # the first disk, or sda, vda, nvme0n1
admin_user: admin                   # signs in to the server with the key below; sudo; no password
ssh_key: "ssh-ed25519 AAAA... you@laptop"
https_port: 443
fleet_size: 500
license: ./gardience.license        # optional: without one, add it later under Settings

2. Build the ISO

#

From the unpacked offline bundle:

./tools/make-appliance.sh --settings appliance.yaml --iso AlmaLinux-10.2-x86_64-minimal.iso --bundle gardience-VERSION-offline-amd64.tar.gz

It checks the settings file first and says plainly what is wrong, then writes gardience-appliance-VERSION-ARCH.iso and its SHA-256 checksum. Building takes about a minute.

3. Boot a server from it

#

Attach the ISO (a virtual machine's CD drive, a USB stick written with dd, or a server's remote console) and start the server. With no keyboard input it:

  1. installs the operating system with SELinux enforcing and the firewall on, the admin user with only your SSH key (password sign-in off), Docker Engine, and the Gardience bundle;
  2. restarts, then installs Gardience from the bundle on first boot and opens the console and agent ports in the firewall;
  3. shows the console address on the server's screen.

The console's one-time admin password is saved for root only:

ssh admin@gardience.example.com sudo cat /root/gardience-admin.txt

Sign in at the address shown and change the password. The first-boot log is /var/log/gardience-appliance-install.log. From here everything works as on any install: upgrades use the next offline bundle, and machines enroll as in Enroll Linux machines and Enroll Windows machines.

Tested

#

Each release, the arm64 ISO is built from AlmaLinux 10.2 minimal and installed on a virtual machine with every outside connection blocked: the operating system, Docker, and Gardience install with no input, the console answers, and nothing is downloaded.

Gardience by Bouziden Management LLC.