Download and Install Proxmox
Download Proxmox VE
Create a Bootable USB
Linux/macOS: Run the following command:
dd if=proxmox-ve.iso of=/dev/sdX bs=1M status=progress
*(Replace /dev/sdX with your actual USB device.)*
Install Proxmox VE
After installation, access Proxmox via the web UI: (Login using the root account and the password set during installation.)
Open a browser and navigate to:
https://your-proxmox-ip:8006
Creating a Container in Proxmox
Download a Template
In the Proxmox web UI, navigate to Datacenter > Storage (local) > CT Templates.
Click Templates, select a template (e.g., debian-12-standard), and Download.
Create a Container (CT)
Converting an Unprivileged Container to Privileged
By default, Proxmox creates unprivileged containers. Some applications, such as Samba (for extended attributes), require a privileged container. Since all CTs are unprivileged by default, they must be converted manually.
Steps to Convert an Unprivileged Container to Privileged
Back Up the Container
In the Proxmox UI, go to Datacenter > Node > Container (CT_ID) > Backup.
Select a storage location and create a backup.
Restore the Container as Privileged
Go to Datacenter > Node > Storage > Backup.
Select the backup file and click Restore.
In the restore window, check the option “Privileged Container”.
Click Restore to create the privileged container.
Now the container is privileged, allowing Samba to use extended attributes (xattrs) properly.
Note: Running a privileged container reduces security isolation, so use it only when necessary.
Creating a Debian 12 VM in Proxmox
Download the Debian 12 ISO
Create a New Debian 12 VM
Select the Debian 12 ISO
-
Use CD/DVD Image: Choose the uploaded Debian 12 ISO.
Guest OS Type: Select
Linux and
Debian 12.
Click Next.
System:
Leave defaults unless a specific BIOS type (UEFI/Legacy) is needed.
Disks:
Select storage and allocate disk size (e.g., 20GB).
Use VirtIO SCSI for better performance.
CPU:
Assign the number of cores (e.g., 2).
Memory (RAM):
Allocate RAM (e.g., 2048MB for a basic setup).
Network:
Use the default bridge vmbr0.
Select VirtIO for best performance.
Start the Installation
Click Finish to create the VM.
Start the VM and open the Console.
Follow the Debian installation steps:
Select language, region, and keyboard layout.
Configure network (set hostname, domain).
Partition disk (use Guided – use entire disk for simplicity).
Set root password and create a user.
Select software to install (e.g., SSH server).
Complete installation and reboot.
Post-Installation Optimizations
apt update && apt install qemu-guest-agent -y
Now the Debian 12 VM is fully installed and ready for use in Proxmox.