Installing ZRS (alpha)
ZRS is currently in alpha. These instructions install pre-release builds from the alpha package channel, so expect rough edges, occasional regressions, and breaking changes between versions.
The alpha channel publishes amd64 and arm64 builds for Debian 13, Ubuntu 26.04 LTS, and Rocky Linux 10. Other Debian/Ubuntu and RHEL-family releases will likely work but are not part of the alpha test matrix. ZRS depends on Docker, libvirt/QEMU, and Samba.
Install ZRS #
- Add the repository and install
Install curl and gpg if they are not already present. The default Debian install does not include them.
sudo apt update && sudo apt install -y curl gpgAdd the registry signing key and alpha repository
curl -fsSL https://us-central1-apt.pkg.dev/doc/repo-signing-key.gpg \ | sudo gpg --dearmor -o /usr/share/keyrings/gar-zrs.gpgecho "deb [signed-by=/usr/share/keyrings/gar-zrs.gpg] https://us-central1-apt.pkg.dev/projects/zrs-app zrs-deb-alpha main" \ | sudo tee /etc/apt/sources.list.d/zrs-alpha.listUpdate the package index and install ZRS. Docker, libvirt, and Samba are pulled in as dependencies.
sudo apt update && sudo apt install -y zrsRHEL-family distros no longer ship a Docker package, so the Docker dependency cannot come from the distro repositories. Add Docker's official repository first.
sudo dnf -y install dnf-plugins-coresudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repoAdd the ZRS alpha registry:
sudo tee /etc/yum.repos.d/zrs-alpha.repo << 'EOF' [zrs-alpha] name=ZRS Alpha baseurl=https://us-central1-yum.pkg.dev/projects/zrs-app/zrs-rpm-alpha enabled=1 gpgcheck=0 EOFInstall ZRS. Docker, libvirt, and Samba are pulled in as dependencies.
sudo dnf install -y zrsThe package sets up a zrs systemd service and starts it automatically. You can manage it with systemctl.
- Create admin account
Run the interactive setup as the zrs user. Do not run it as root, because that creates SQLite WAL files owned by root and breaks the service.
sudo -u zrs zrs setup - Open the firewall port
If a firewall is running, allow traffic on the configured port (default 9779):
# replace 192.168.0.0/16 with your internal subnet sudo ufw allow from 192.168.0.0/16 to any port 9779# replace 192.168.0.0/16 with your internal subnet sudo firewall-cmd --permanent --add-rich-rule='rule family="ipv4" source address="192.168.0.0/16" port port=9779 protocol=tcp accept'sudo firewall-cmd --reload - Open ZRS in your browser
Visit
https://<Server IP or DNS>:9779and log in with the credentials you just created.
Configuration is optional. ZRS starts with defaults, see Configurationto change them.
Updating #
ZRS is instlled and updated through the package manager.
sudo apt update && sudo apt install zrssudo dnf upgrade zrsUninstalling #
sudo apt remove zrssudo rm /etc/apt/sources.list.d/zrs-alpha.listsudo dnf remove zrssudo rm /etc/yum.repos.d/zrs-alpha.repoRemoving the package leaves the zrs system user and data directory in place. To fully wipe ZRS state.
sudo userdel zrssudo rm -rf /var/lib/zrs