{"id":20430,"date":"2023-08-31T13:40:12","date_gmt":"2023-08-31T13:40:12","guid":{"rendered":"https:\/\/linuxways.net\/?p=20430"},"modified":"2023-08-31T13:40:12","modified_gmt":"2023-08-31T13:40:12","slug":"how-to-install-proxmox-on-debian-12","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-install-proxmox-on-debian-12\/","title":{"rendered":"How to Install Proxmox on Debian 12"},"content":{"rendered":"<p><strong>Proxmox<\/strong> is an open-source and free virtualization and server management system tool. It can be used as a server management tool and also can install virtual operating systems. <strong>Proxmox <\/strong>is a great tool when it is used to manage different servers. It uses a web interface. <strong>Proxmox <\/strong>is based on the Debian Linux distribution and provides the facility to virtualize in two ways. It uses <strong>containers <\/strong>with LXC(Linux containers) virtualization and <strong>KVM<\/strong>(Kernel-based Virtualization) for full virtualization.<\/p>\n<p>This article will help with installing <strong>Proxmox<\/strong> on Debian 12. By following the instructions, you\u2019ll be able to install and use Proxmox as your Server Management Tool as well as your Virtualization tool.<\/p>\n<h2><strong>How to Install proxmox on Debian 12?<\/strong><\/h2>\n<p><strong>Proxmox <\/strong>provides services for the management of virtual machines and server management. It utilizes the Debian-based kernel for managing virtualization.<\/p>\n<h3><strong>Step 1: Update Packages<\/strong><\/h3>\n<p>Open the terminal and type the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p>This command will update all the existing packages:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"240\" class=\"wp-image-20431\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-1.png 739w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-1-300x97.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/strong><\/p>\n<h3><strong>Step 2: Install wget Package<\/strong><\/h3>\n<p>The <strong>\u201cwget\u201d <\/strong> command is used to enable the downloading of the packages from the websites. Use the following command to install wget:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>apt <span class=\"kw2\">install<\/span> <span class=\"kw2\">wget<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"138\" class=\"wp-image-20432\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-2.png 742w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-2-300x56.png 300w\" sizes=\"auto, (max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>Update the package again by using the above command to update the package apt<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<h3><strong>Step 3: Static IP Configuration<\/strong><\/h3>\n<p>Proxmox works with the static IP address, so we have to configure our IP as Static if it has DHCP configuration. For this purpose, use the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">nano<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>network<span class=\"sy0\">\/<\/span>interfaces<\/div><\/div>\n<p>Specify the given settings in the nano editor to configure IP:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co0\">#The primary network interface<\/span><br \/>\n<br \/>\nallow-hotplug enp1s0<br \/>\n<br \/>\nIface enp1s0 inet static<br \/>\n<br \/>\naddress 172.27.1.154<br \/>\n<br \/>\nnetmask 255.255.240.0<br \/>\n<br \/>\ngateway 172.127.0.1<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"378\" class=\"wp-image-20433\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-3.png 730w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-3-300x155.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<p>After modifying the file, press \u201c<strong>Ctrl + X<\/strong>\u201d, to exit and press \u201cy\u201d to save the changes.<\/p>\n<p>Now, manage the hosts by following this method:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">nano<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>hosts<\/div><\/div>\n<p>Manage your hosts accordingly. You add the changes in the file as given in the snippets:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">127.0.0.1 localhost.localdomain localhost<br \/>\n172.27.1.154 debian<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"213\" class=\"wp-image-20434\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-4.png 739w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-4-300x86.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<p>After modifying the file, type \u201c<strong>Ctrl + s<\/strong>\u201d to save and \u201c<strong>Ctrl + X<\/strong>\u201d to exit the editor. Execute the following command to check your static IP:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">hostname<\/span> <span class=\"re5\">-ip-address<\/span><\/div><\/div>\n<p>The \u201chostname\u201d command will return your static IP address.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"124\" class=\"wp-image-20435\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-5.png 737w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-5-300x50.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/p>\n<h3><strong>Step 3: Make the Repository for Proxmox VE<\/strong><\/h3>\n<p>Use the following command to create the Proxmox installation repository:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">nano<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>apt<span class=\"sy0\">\/<\/span>sources.list.d<span class=\"sy0\">\/<\/span>pve-install-repo.list<\/div><\/div>\n<p>The command will open the following file in the nano text editor. Mention the following package dependency in the file:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">deb <span class=\"br0\">&#91;<\/span><span class=\"re2\">arch<\/span>=amd64<span class=\"br0\">&#93;<\/span> http:<span class=\"sy0\">\/\/<\/span>download.proxmox.com<span class=\"sy0\">\/<\/span>debian<span class=\"sy0\">\/<\/span>pve bookworm pve-no-subscription<\/div><\/div>\n<p>Type \u201c<strong>Ctrl + X<\/strong>\u201d from your keyboard, press \u201c<strong>y<\/strong>\u201d to save the changes and hit \u201c<strong>Enter<\/strong>\u201d. After that, add the key of Proxmox VE for the repository by typing the following command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">wget<\/span> http:<span class=\"sy0\">\/\/<\/span>download.proxmox.com<span class=\"sy0\">\/<\/span>debian<span class=\"sy0\">\/<\/span>proxmox-release-bookworm.gpg <span class=\"re5\">-O<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>apt<span class=\"sy0\">\/<\/span>trusted.gpg.d<span class=\"sy0\">\/<\/span>proxmox-release-bookworm.gpg<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"757\" height=\"124\" class=\"wp-image-20436\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-6.png 757w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-6-300x49.png 300w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><\/p>\n<p>Update and upgrade the repository, by executing the following commands:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">$ apt update<br \/>\n$ apt upgrade<\/div><\/div>\n<h3><strong>Step 4: Install Proxmox VE Kernel<\/strong><\/h3>\n<p>Simply run the following command in the terminal for installing Proxmox Kernel:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>apt <span class=\"kw2\">install<\/span> proxmox-ve postfix open-iscsi<\/div><\/div>\n<p>The mentioned command will start to install proxmox:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"741\" height=\"359\" class=\"wp-image-20437\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-7.png 741w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-7-300x145.png 300w\" sizes=\"auto, (max-width: 741px) 100vw, 741px\" \/><\/p>\n<p>Packages will require permission to use additional disk space, simply type \u201c<strong>y<\/strong>\u201d and hit Enter:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"632\" height=\"59\" class=\"wp-image-20438\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-8.png 632w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-8-300x28.png 300w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/p>\n<p>It will start downloading packages, the status will be shown at the bottom of the terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"93\" class=\"wp-image-20439\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-9.png 739w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-9-300x38.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<p>During installation, the Postfix Configuration menu opens, choose \u201clocal only\u201d and press \u201cEnter\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"354\" height=\"301\" class=\"wp-image-20441\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-10.png 354w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-10-300x255.png 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/p>\n<p>Then remain the system name as it is, and press \u201c<strong>Enter<\/strong>\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"618\" class=\"wp-image-20442\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-11.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-11.jpeg 2048w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-11-300x91.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-11-1024x309.jpeg 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-11-768x232.jpeg 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-11-1536x464.jpeg 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/p>\n<h3><strong>Step 5: Remove Debian Kernel<\/strong><\/h3>\n<p>Proxmox VE has its own kernel, the use of a pre-installed Debian Kernel may lead to updating problems.<\/p>\n<p>Remove the Debian default kernel by executing the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>apt remove linux-image-amd64 <span class=\"st_h\">'linux-image-6.1*'<\/span><\/div><\/div>\n<p>The command will ask for confirmation type \u201c<strong>y<\/strong>\u201d and press \u201c<strong>Enter<\/strong>\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"192\" class=\"wp-image-20443\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-12.png 559w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-12-300x103.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/p>\n<p>It will also be required to remove prober, otherwise boot entry will not be assigned, It is recommended to remove prober for using Proxmox:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>apt remove os-prober<\/div><\/div>\n<p>OS-prober will be removed after the execution of the command:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"192\" class=\"wp-image-20444\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-13.png 559w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-13-300x103.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/p>\n<p>Type \u201c<strong>y<\/strong>\u201d and press \u201c<strong>Enter<\/strong>\u201d to continue uninstallation. After that, update-grub version:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span>update-grub<\/div><\/div>\n<p>The command will update the grub version of Debian and enable the dual boot functionality.:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"2048\" height=\"816\" class=\"wp-image-20445\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-14.jpeg\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-14.jpeg 2048w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-14-300x120.jpeg 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-14-1024x408.jpeg 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-14-768x306.jpeg 768w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-14-1536x612.jpeg 1536w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/p>\n<h3><strong>Step 6: Reboot the System<\/strong><\/h3>\n<p>Execute the following command to reboot\/restart your system:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> reboot<\/div><\/div>\n<p>After rebooting, the system will show the following Welcome Screen:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"124\" class=\"wp-image-20446\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-15.png 637w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-15-300x58.png 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/p>\n<p>Provide the root username and password. Finally, the Firefox window will open the Proxmox window:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"366\" class=\"wp-image-20447\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-16.png 940w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-16-300x117.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/08\/word-image-20430-16-768x299.png 768w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p><strong>Proxmox VE<\/strong> is a very amazing tool that can be used as a server management tool as well as a virtual machine host tool. It supports two-way virtualization, which can be LXC-based or KVM-based.<\/p>\n<p>Managing more than one server, Proxmox has made it easy with its handy tools. This article demonstrates the installation process of Proxmox on Debian 12.<\/p>","protected":false},"excerpt":{"rendered":"<p>Proxmox VE is a helpful tool that is used for server management and virtual machine host tools. Also, it supports two-way virtualization: LXC and KVM-based.<\/p>","protected":false},"author":110,"featured_media":20440,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-20430","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=20430"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20430\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/20440"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=20430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=20430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=20430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}