¡Únete a Nuestra Comunidad en Discord!

Haz clic en el botón de abajo para unirte a nuestra nueva comunidad de Discord.

Unirse a Discord
Documentation / Operating Systems / Install Proxmox VE on Debian 12 Bookworm

Install Proxmox VE on Debian 12 Bookworm

To successfully follow this tutorial and have Proxmox 8 fully functional, you should first install Debian 12 Bookworm using our control panel

Once you have SSH access to your server:

Add the Proxmox VE repositories:

echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

Add the repository key for Proxmox VE:

wget https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg

Update the system repositories:

apt-get update && apt-get upgrade

Install the Proxmox VE kernel and reboot the server:

apt install proxmox-default-kernel -y
systemctl reboot

After the server has rebooted, SSH back in and install the Proxmox VE packages:

apt install proxmox-ve postfix open-iscsi chrony -y

Next, configure a bridge and assign it to the main interface of the machine with the following network configuration. Replace "ens18" with the name of your server's main interface and replace IP Address and gateway.

# Example configuration for /etc/network/interfaces
auto lo
iface lo inet loopback

auto ens18
iface ens18 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.2/24
gateway 192.168.1.1
bridge_ports ens18
bridge_stp off
bridge_fd 0

If you have additional IPs and want to use them in virtual machines, you should enable IP forwarding with the following command:

echo "net.ipv4.ip_forward=1" >> /etc/sysctl.conf && sysctl -p

For the VPS configuration, set the IP to /24 at the end, and the gateway for the virtual machine will be the main IP of the node.

Add Storage to Proxmox

To add storage in Proxmox, where we will create the VPS, you must assign it to the volume group called vg0. You must go to Datacenter > Storage. Once in this section, click on Add and do it as follows:

Once this is done, all VPS should be created in the local-lvm storage, and an LVM partition will be created for each disk of each VPS.

Was this article helpful?