Two methods of installation are available for Proxmox : usage of the official ISO image, or install needed packages from the official repository. This post will explain to you the second method.

Version Date Comments
1 07/2022 Post creation
1.1 07/2022 Update for Debian 11.4
1.2 11/2023 Update for Debian 12.1, Proxmox VE 8. Update blog post picture
1.3 12/2023 Add a block about pve kernel, thanks to S. ROBERT

Goal : Install Proxmox on Debian

Environment : Debian 12.4 (bullseye)


Install Proxmox on top of your Debian is not difficult, but implicitly needs you to master your base system (installation and configuration of some usual packages), and your local storage is already set up (example: LVM).

If you are not sure about this step, prefer using ISO image.

Requirements and configuration

Before the start of Proxmox installation and its tools, make sure to have an updated system, with a $ sudo apt update && sudo apt dist-upgrade -y.

Your host needs to have a static IP and have a correct /etc/hosts file. It is needed to have a fully functional hypervisor, even more if you want to make a cluster. The /etc/hosts file should have this information: localhost
<ip-server> <hostname>

# pve1

Comment the line <hostname>, to avoid network problems when you'll install Proxmox. You can read more information here.

Let's create a file with the address of the Proxmox repository:

$ echo "deb bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-install.list

It is necessary to authenticate the repository using its GPG key, to ensure that the packages come from a recognized and valid source. The GPG key is available from the official site and is imported as follows:

$ wget -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg

This key applies to both enterprise repositories and no-subscription repositories. Let's start the installation!

Installation of "pve" kernel

Proxmox provides Linux kernels with patches and optimizations, especially tailored for KVM. Proxmox's technical support has validated these configurations, ensuring that a PVE host is genuinely prepared to support various types of virtualization.

In the terminal, update the repository list and search for pve kernels:

$ sudo apt update && apt search pve-kernel

At the time of this documentation, the latest kernel is version 6.2. Install it using the following command:

$ sudo apt install pve-kernel-6.2

Remember to reboot your machine once the installation is complete. After rebooting, you can proceed with the Proxmox installation to fully utilize its functionalities.

Proxmox installation

Installation is very simple. Update repositories and your machine with $ sudo apt update && sudo apt upgrade -y.

Another requirement to operate the network easily and dynamically, is to install the package ifupdown2. This tool lets you create/modify/delete Linux Bridge without the need to restart the host. Installation is done with $ sudo apt install ifupdown2 and will overload the package ifupdown.

Now, install the meta-package proxmox-ve ; more than 690 packages will be downloaded and installed.

$ sudo apt install proxmox-ve -y

A configuration about the mail service will appear, with many choices. You can escape this step and configure it later. To do so, select the option "No configuration" when you are to the step "Postfix configuration".

That's it for the installation, reboot your host and now, exploit your freshly installed Proxmox ! Open a web navigator and go to https://ipServer:8006.

Source : wiki Proxmox

Partager l'article