Introduction
This page describes the procedure for installing Debian 12 on an LXC-based container. The procedure is deliberately kept as short as possible, with most of the work being offloaded to PCMS. Other pages on this website explain how to configure server applications.
Prologue
- Prepare DNS entries.
- Perform a full backup! Yes, really.
- Assign a UID+GID offset for the container and log it in my UID/GID offset standard.
Procedure
- The page that led you here should have specified volume and container creation commands; run them on one node of the virtualisation cluster now.
- Start the container with:
virsh --connect=lxc:/// start <container-name> --console
and log in as root.
- Install and run PCMS.