Guide · Install on Linux

Install LexiVirt on a Linux server.

One command turns a Linux server into a KVM host with a web console. This guide covers what the server needs, the install for one server or for a console with separate compute nodes, the first sign-in, and the ports to protect.

By · Checked against LexiVirt 2.1 on

What the server needs

ItemRequirement
Operating systemLexiVirt OS, or a RHEL-compatible Linux 8–10, Debian 11+ or Ubuntu 20.04+
Accessroot, or a user with sudo
CPUx86-64 with Intel VT-x or AMD-V enabled in the BIOS (compute nodes only)
Memory2 GB for the console alone. On a compute node: the host's own needs plus the RAM of every VM
Disk20 GB for LexiVirt itself, plus room for install images and every VM's disk
NetworkThe console and the nodes reach each other on ports 9071 and 5900–5999

Check firstWithout VT-x or AMD-V switched on in the BIOS, virtual machines are emulated in software and are unusably slow. The installer tells you which one the server has.

Get your install command

Installing starts from a personal command. Create a free account at lexi-cloud.com and open its download page: it shows your own command, with a key in the address. The key only identifies the link you copied; installing asks nothing about the account, and adding compute nodes later needs no key at all.

Install on one server

The console and the hypervisor on the same machine — the place to start. The installer must run as root: it installs QEMU/KVM, libvirt and every other dependency, generates its own credentials and TLS certificate, opens the firewall ports it needs and offers to download operating-system install images.

bash
# everything on this one server
curl -sSL https://lexi-cloud.com/i/YOUR-KEY | sudo bash -s -- all

To choose the install images up front and skip every question:

bash
LEXIVIRT_ISOS="debian alpine" \
  curl -sSL https://lexi-cloud.com/i/YOUR-KEY | sudo bash -s -- all
# other choices: "none", "all", or any of: debian alpine ubuntu alma

Read it first if you preferPiping a script into sudo bash means trusting it completely. Download it with curl -sSL https://lexi-cloud.com/i/YOUR-KEY -o install.sh, read it, then run sudo bash install.sh all.

Install a console and separate compute nodes

On the machine that will host the console:

bash
curl -sSL https://lexi-cloud.com/i/YOUR-KEY | sudo bash -s -- manager

It prints the cluster secret and its own address when it finishes. Then, on every server that should run virtual machines:

bash
curl -sSL https://lexi-cloud.com/install.sh | sudo bash -s -- \
  agent <cluster-secret> https://<console-ip>:9443

Prefix that command with LEXIVIRT_MANAGER_IP=<console-ip> and the node accepts agent traffic from that one address only. Adding nodes is covered step by step in Add servers to a virtualization cluster.

Sign in and secure it

Open https://<your-server>:9443 and sign in as admin with the password lexi. That password is the published default of every install, not a secret: change it at this first sign-in, before port 9443 is reachable from anywhere you do not control. To install with your own password instead:

bash
curl -sSL https://lexi-cloud.com/i/YOUR-KEY \
  | sudo LEXIVIRT_ADMIN_PASSWORD='your-password-here' bash -s -- manager
  1. The browser warns about the certificate: the installer made a self-signed one. With a domain name pointing at the server, replace it in /etc/lexivirt/ssl/ and run systemctl reload nginx.
  2. Change the admin password: Settings → Change Password, at least 10 characters.
  3. Create an account for yourself under Users with the operator role, and keep admin for administration.
  4. Keep port 9443 off the open internet: behind a VPN or an address allow-list.

Six failed sign-ins from one address lock that account for five minutes, and every sign-in is written to the audit log.

Ports to protect

PortMachinePurposeWho should reach it
9443/tcpconsoleThe web console, over HTTPSYour administrators only
9440/tcpconsoleThe infrastructure (HCI) console at /hciAdministrators, ideally on the management network
9071/tcpnodeThe node agent's APIThe console only
5900–5999/tcpnodeVM screens (VNC)The console only — closed on a single-server install

The installer opens these with ufw or firewalld, whichever is active.

Check that it runs

bash
# on the console machine
systemctl status lexivirt-console
journalctl -u lexivirt-console -n 50

# on a compute node
systemctl status lexivirt-agent
virsh list --all

The console's Dashboard lists what still stands between the install and its first virtual machine, most important first, with the command or page that fixes each. Then create your first VM.

The bootable installer

Check your hardwareLexiVirt OS is a bootable installer built on Enterprise Linux 10. Every release is installed and audited in QEMU before it is published; server hardware differs, so install it on one server of a model before rolling it out to a rack of them.

Go further

The capability behind this guide: Virtualization Cluster Management. Every console page with its limits: the feature reference. Stuck? Ask the community or get support.

Run it on your own servers.

Free, with no licence per VM, socket or core. One command per server.