Skip to main content
Rugix Bakery 0.9.6 is here: Build rules for custom image pipelines and verified boot for EFI and Raspberry Pi. Read the release post.
Documentation

Installation

Add Rugix Admin to a system image with Rugix Bakery, NixOS, or Yocto.

Preview
You're viewing the Next docs — a rolling preview of in-development changes. The current release docs may differ.

Install Rugix Admin as part of the system image whenever possible. This keeps the interface and its service definition versioned with the rest of the device software. Rugix provides integrations for Rugix Bakery, NixOS, and Yocto; a standalone installer is also available for evaluating Rugix Admin on an existing system.

Rugix Admin 0.6.0 requires Rugix Ctrl 1.4.0 or later. Upgrade Rugix Ctrl before upgrading Rugix Admin. Rugix Admin 0.5.0 uses the application inspection format of Rugix Ctrl 1.3.x and cannot display application details with Rugix Ctrl 1.4.0.

Install on NixOS

The Rugix Admin flake exports nixosModules.rugix-admin and packages for x86-64 and AArch64 Linux. The package builds and embeds the frontend; the module imports the Rugix service module and enables its privileged daemon. Admin listens on loopback by default, and daemon operations must be enabled explicitly.

See Nix Integration for a complete module configuration and build commands. These flake outputs are available starting with Rugix Admin 0.6.0.

Install with Rugix Bakery

Prerequisites

You need a Rugix Bakery project whose system uses systemd. If you are starting a new project, follow the Rugix Bakery getting-started guide first.

Add Rugix Admin to a System Image

Add the rugix-extra repository to rugix-bakery.toml:

rugix-bakery.toml
[repositories]
rugix-extra = { git = "https://github.com/rugix/rugix-extra.git", branch = "v0.9" }

For production builds, pin the repository to a known revision with rev. See Repositories for the available version selectors.

Apply the Rugix Admin and privileged Rugix Ctrl daemon recipes in the layer used by your system:

layers/customized.toml
recipes = [
    "core/rugix-ctrl-daemon",
    "rugix-extra/rugix-admin",
]

[parameters."core/rugix-ctrl"]
version = "v1.4.0"

[parameters."rugix-extra/rugix-admin"]
source = "v0.6.0"

Pin both releases to keep their application inspection formats compatible. The daemon recipe installs the privileged service required by Rugix Admin. See Configuration to select the available operations.

Build the system image as usual:

./run-bakery bake image <system>

Install the resulting image through your normal provisioning workflow.

Install with Yocto

The meta-rugix layer currently packages Rugix Admin 0.5.0 with Rugix Ctrl 1.3.x. The following instructions install that pair. Rugix Admin 0.6.0 requires updated recipes for both components.

For a Yocto image that already integrates Rugix Ctrl, use the official meta-rugix layer and add Rugix Admin to the image:

conf/local.conf
IMAGE_INSTALL:append = " rugix-admin"

The recipe builds Rugix Admin and its embedded browser interface from a pinned source revision. It also pulls in the privileged Rugix Ctrl daemon. Both systemd services are enabled automatically.

Rugix Admin listens on the loopback interface by default. The daemon also uses safe policy defaults: installation and status queries are available, while optional operation families remain disabled until explicitly enabled. Follow the Yocto integration guide to integrate Rugix Ctrl and see Configuration before exposing the interface or enabling additional operations.

Open the Interface

Rugix Admin listens on the device’s loopback interface by default. From the device, open:

http://127.0.0.1:7492/

To connect from another machine, first choose a trusted listen address as described in Configuration. For the upcoming release, add any host name you use to connect to the allowed hosts.

Check the service and follow its logs with:

systemctl status rugix-admin.service
journalctl -u rugix-admin.service -f

Install on an Existing System

For evaluation on an existing system, the Rugix Admin repository also provides a standalone installer. It supports Debian-based systems with apt-get and systemd on x86-64, 64-bit Arm, and 32-bit Arm devices.

Before using it, make sure that:

  • the device uses systemd and has apt-get available;
  • the device can download release assets from GitHub; and
  • you have root access to install binaries and system services.

Download the installer from the Rugix Admin repository and inspect it before running it as root:

curl -fL https://raw.githubusercontent.com/rugix/rugix-admin/main/installer/install-rugix-admin.sh \
  -o install-rugix-admin.sh
less install-rugix-admin.sh
sudo bash install-rugix-admin.sh

The installer downloads the latest stable release by default. Pass an exact release tag as the first argument to install a specific version:

sudo bash install-rugix-admin.sh v0.6.0

Set RUGIX_CTRL_VERSION to an exact tag or a stable major-version selector when the installer also needs to install Rugix Ctrl. It defaults to v1:

sudo env RUGIX_CTRL_VERSION=v1.4.0 \
  bash install-rugix-admin.sh v0.6.0

The installer then:

  1. installs the latest stable Rugix Ctrl 1.x Debian package when rugix-ctrl is not already installed;
  2. installs the rugix-admin binary at /usr/bin/rugix-admin;
  3. creates the rugix-daemon system group when needed;
  4. creates /etc/rugix/daemon.toml with system commit and reboot enabled when that file does not already exist;
  5. installs and enables rugix-ctrl-daemon.service and rugix-admin.service; and
  6. starts both services.

An existing rugix-ctrl installation and /etc/rugix/daemon.toml are preserved. Upgrade an existing Rugix Ctrl installation to 1.4.0 or later separately before installing Rugix Admin 0.6.0. The controls visible in Rugix Admin reflect the policy that was already configured on the device.

To select different features on a fresh installation, set RUGIX_DAEMON_FEATURES to a comma-separated list. The available names are system-commit, system-reboot, factory-reset, and app-lifecycle. An empty value disables all four. For example, to enable application management alongside system commit and reboot, run:

sudo env RUGIX_DAEMON_FEATURES=system-commit,system-reboot,app-lifecycle \
  bash install-rugix-admin.sh

On an existing installation, change the policy in /etc/rugix/daemon.toml and restart rugix-ctrl-daemon.service.

For binaries that support allowed-hosts, set RUGIX_ADMIN_ALLOWED_HOSTS to comma-separated names without ports. For example, set RUGIX_ADMIN_ALLOWED_HOSTS=device.local to allow requests addressed to device.local. The installer writes the list when /etc/rugix/admin.toml is absent. For an existing file, edit allowed-hosts directly.