[TUTORIAL] Proxmox VE Installer on Debian 12 Bookworm

mathewalves

New Member
Mar 2, 2024
5
3
3
Brazil
I've developed a script that streamlines the Proxmox installation process atop Debian 12 (Bookworm).
You can access to contribute or for more information in this Github Repository

Requirements​

- Installed Debian 12 Bookworm
- Superuser permissions
su root
- Installed Git
apt install git
- (Important) Clone the repository from the directory:
cd /

Usage Instructions​


1. Clone the repository to your Debian 12 system.
Bash:
# With git already installed on your machine, clone the repository
git clone https://github.com/mathewalves/Proxmox-Debian12.git

# Access the downloaded folder with the 'cd' command
cd /Proxmox-Debian12

# Give execution permission to the setup
chmod +x ./setup

3. Run the setup.
Bash:
./setup

From there, just follow the proxmox script installation setup

Note: This script is designed to run on a Debian 12 bookworm system.

Features​

  1. Proxmox Installation: The script automatically installs Proxmox on the Debian 12 base.
  2. Additional Packages: These additional packages are installed to enhance the user experience and provide useful tools for the system and Proxmox environment.
  3. Bridge Creation: Facilitates network configuration by creating a bridge named vmbr0. You can choose to configure manually or use DHCP.

    Acknowledgments​


    If you come across any improvements or would like to contribute, feel free to create a pull request. Your contributions are welcome to enhance this script.

    We appreciate your participation in the community and your contribution to the ongoing development of this script.

    Enjoy Proxmox!
 
Last edited:
It would be way more useful to have an Ansible roles to roll out PBS and PVE; for the latter, an option to also create a cluster would be nice.
 
Thank you, thank you. Made life a whole lot easier.
I needed this install so I can dual boot my laptop. The standard Proxmox install wipes everything and the "install Proxmox on Debian"instructions might be challenging.
Everything is great!
A small typo in section 1, add a dot before the /, "cd /Proxmox-Debian12"
 
Excelente aporte, pero cuando lo instalo y termina nunca me abre la web de administración del proxmox. ¿alguna idea?
 
I've developed a script that streamlines the Proxmox installation process atop Debian 12 (Bookworm).
You can access to contribute or for more information in this Github Repository
Great job, thank you very much!

One thing you should change, why is GRUB installed again?
And without "osprobe", means all other boot-options have disappeared.
 
Amazing script and implemented impeccably; it allowed me to install proxox on 2 remote machines starting from a debian and overcome the "bootdevice not found" error that returned me the installation with the proxmox iso.
Thanks and compliments for the beautiful work.
 
hello. last year using this script and it works like a charm. but now i want to install in another vps and it cannot works at all.
any help?
 
hello. last year using this script and it works like a charm. but now i want to install in another vps and it cannot works at all.
any help?
Did you try this guide? https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm

And why do you even want to go the Debian route instead of using ProxmoxVE installer iso?

From the manual:

Proxmox VE ships as a set of Debian packages and can be installed on top of a standard Debian installation. After configuring the repositories you need to run the following commands:​

# apt-get update
# apt-get install proxmox-ve
Installing on top of an existing Debian installation looks easy, but it presumes that the base system has been installed correctly and that you know how you want to configure and use the local storage. You also need to configure the network manually.
In general, this is not trivial, especially when LVM or ZFS is used.
A detailed step by step how-to can be found on the wiki.
https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_install_proxmox_ve_on_debian

Don't take this the wrong way, but installing ProxmoxVE on top of debian is more for advanced users since you need to know how to reconfigure the mentioned stuff (ZFS,LVM, networking). If you need a script you are most likely not one of them and should stick to the official installer iso.
 
Did you try this guide? https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_12_Bookworm

And why do you even want to go the Debian route instead of using ProxmoxVE installer iso?

From the manual:



Don't take this the wrong way, but installing ProxmoxVE on top of debian is more for advanced users since you need to know how to reconfigure the mentioned stuff (ZFS,LVM, networking). If you need a script you are most likely not one of them and should stick to the official installer iso.
Hi!
You're absolutely right — installing Proxmox VE on top of Debian is indeed better suited for advanced users. Personally, I also believe the official ISO is the best route in most cases.


That said, I originally wrote this script during an internship at a university where we worked with older DELL servers that didn’t accept certain ISOs unless they were official ones, like the standard Debian ISO. The script was created to solve that very specific issue at the time, and it turned out to be surprisingly helpful in that context.


I didn’t expect it to reach so many people, and I’m really grateful for all the support it’s received. Unfortunately, I haven’t had much time to update it recently, as I’m finishing my degree and juggling work and an internship — it’s been quite hectic!


Thanks again to everyone who found it useful!