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.
|1.1||07/2022||Update for Debian 11.4|
Goal : Install Proxmox 7 on Debian 11
Debian 11.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
$ apt update && 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:
127.0.0.1 localhost <ip-server> <hostname> ## EXEMPLE # 192.168.1.120 pve1
Comment the line
127.0.1.1 <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 http://download.proxmox.com/debian/pve bullseye 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 https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
This key applies to both
enterprise repositories and
no-subscription repositories. Next, let's check its hash:
$ sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg 7fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
If everything is OK, let's start the installation!
Installation is very simple. (re)update the repository with
$ apt update && 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 or OVS Bridge without the need to restart the host. Installation is done with
apt install ifupdown2 and will overload the package
Now, install the meta-package
proxmox-ve ; more than 690 packages will be downloaded and installed.
$ 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
Source : wiki Proxmox