Ir al contenido

Install: virtual appliance

The virtual appliance is the quickest way to run OkYouIn: a ready-made VM with Ubuntu Server 26.04 LTS, Docker, the release bundle and every container image already on its disk. On first boot a wizard configures the operating system and installs OkYouIn offline — nothing is downloaded.

The image carries no installed state: no configuration, no secrets, no database, no license or trial date, no SSH host keys. Each VM you deploy creates its own on its first boot, so two VMs from the same file are two separate installations.

Get the appliance from the Download page:

FileFor
okyouin-<version>.ovaVMware ESXi 6.5 or newer, vSphere, Workstation, Fusion
okyouin-<version>.qcow2QEMU / KVM, Proxmox VE, other KVM-based platforms

Check the download against the release’s SHA256SUMS (also on the Download page) before you import:

Terminal window
sha256sum -c --ignore-missing SHA256SUMS

The VM is sized at 4 vCPU, 8 GB RAM, a 40 GB disk and one network adapter. It boots with BIOS firmware (not UEFI).

In the ESXi Host Client or vSphere Client choose Deploy a virtual machine from an OVF or OVA file, select the .ova, pick the datastore and the port group your server should live on, and power it on. In Workstation or Fusion, use File ▸ Open on the .ova.

Open the VM’s console. The wizard starts on the first boot and walks through the operating-system settings; every screen except the password can be skipped to keep its current value.

  1. Hostname — the machine’s name.

  2. Network — Automatic (DHCP) or Static IP address (address, prefix length, gateway and DNS servers).

  3. Time zone — pick a region and city. OkYouIn evaluates every time in this zone.

  4. Time servers (NTP) — names or addresses, separated by spaces. In a closed network enter your own: MFA codes and logs depend on an accurate clock.

  5. Password for the okyouin user — the SSH login of the appliance. The image ships with a publicly known default (okyouin), so this step cannot be skipped.

  6. What now? Choose one:

    • OkYouIn — install OkYouIn now, from this disk (offline). The wizard asks for the initial admin username (default admin) and runs the installer.
    • Shell — exit and continue over SSH. Choose this for the second node or the witness of an HA cluster.

When the install finishes, a completion screen shows:

  • the console address, https://<address>/,
  • the administrator’s username and generated password,
  • a reminder to copy the master key off the appliance,
  • the command to reset the administrator’s password if you lose it.

Write the password down now. The screen is cleared once you close it. To see the login again later, over SSH:

Terminal window
sudo grep '^INITIAL_ADMIN_' /opt/okyouin/.env

The first start migrates the database; give it a minute before you open the console. Then continue with First sign-in & first steps.

  • The installation lives in /opt/okyouin. Every operations command in this documentation is run from there, as the okyouin user:

    Terminal window
    cd /opt/okyouin
    ./okyouin ps # status and health of every service
  • Logging in over SSH shows a banner with the services, the console address and the day-to-day commands.

  • The wizard runs only once. To run it again — to change the network, or to install OkYouIn after choosing Shell — use:

    Terminal window
    sudo okyouin-setup
  • The console serves a temporary self-signed certificate until you install your own (TLS certificate management).

The wizard shows The OkYouIn installer did NOT finish with the exit code; the installer’s own output above that box names the cause and the fix. Once fixed, run the install again — it continues the unfinished one:

Terminal window
sudo okyouin-setup

or by hand, as the okyouin user:

Terminal window
cd /opt/okyouin && SKIP_PULL=1 ./install.sh

SKIP_PULL=1 tells the installer to use the images already on the disk. Use it on the appliance wherever a guide gives --images <archive>.