{"id":507,"date":"2023-09-11T17:46:47","date_gmt":"2023-09-11T17:46:47","guid":{"rendered":"https:\/\/dev.krasi.net\/?p=507"},"modified":"2024-11-15T08:38:34","modified_gmt":"2024-11-15T06:38:34","slug":"proxmox-8-x-on-orange-pi-5-with-debian-12-bookworm","status":"publish","type":"post","link":"https:\/\/dev.krasi.net\/?p=507","title":{"rendered":"Proxmox 8.x on Orange Pi 5 with Debian 12 Bookworm"},"content":{"rendered":"\n<p>I&#8217;ve successfully installed proxmox and ran some LXC containers on it on my OPI5.<\/p>\n\n\n\n<p>Basically, <a href=\"https:\/\/github.com\/jiangcuo\/Proxmox-Arm64\/wiki\/Install-Proxmox-VE-on-Debian-bullseye\">you follow this guide<\/a>.<\/p>\n\n\n\n<p>except with few changes, related to Debian 12.<\/p>\n\n\n\n<p>First, make sure you are on the Debian 12 Bookworm ( I&#8217;ve installed the official image from Orange Pi, no idea if the others will work, but they should, in general ).<\/p>\n\n\n\n<p>Configure the hostname after editing \/etc\/hosts:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># replace with your hostname\n\nhostnamectl hostname pimox\n\nAfter that, set the static IP with (replace with your values):\n\nnmcli con add type bridge ifname vmbr0\n\n# make sure that you ethernet interface is end1 or replace with the one you have:\n\nnmcli con add type bridge-slave ifname end1 master vmbr0\n\n# replace with your IP\/range\n\nnmcli con mod bridge-vmbr0 ipv4.addresses \"192.168.1.100\/24\"\n\n# replace with your gateway\n\nnmcli con mod bridge-vmbr0 ipv4.gateway \"192.168.1.1\"\n\n# replace if you want different DNSes\n\nnmcli con mod bridge-vmbr0 ipv4.dns \"4.2.2.1,8.8.8.8\"\n\n# replace with your hostname\n\nnmcli con mod bridge-vmbr0 ipv4.dns-search \"pimox\"\n\nnmcli con mod bridge-vmbr0 ipv4.method \"manual\"\n\n# execute this, replacing the mac address with your own. On each node, the mac address should be different, otherwise you cannot have more than one proxmox server\nnmcli con mod bridge-vmbr0 ethernet.cloned-mac-address 70:48:f7:1a:2b:3c\n\n# this should NOT be done through ssh or you'll lose connection:\n\nnmcli con down \"Wired connection 1\"\n\nnmcli con up bridge-vmbr0<\/code><\/pre>\n\n\n\n<p>Then reboot if needed ( it was needed on my side ).<\/p>\n\n\n\n<p>Continue to setup with the manual, but replace the &#8220;Add proxmox ve repository&#8221; command with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb https:\/\/global.mirrors.apqa.cn\/proxmox\/debian\/pve bookworm port\"&gt;\/etc\/apt\/sources.list.d\/pveport.list<\/code><\/pre>\n\n\n\n<p>When finished, you don&#8217;t need to reboot anymore, just access the interface on the usual 8006 port.<\/p>\n\n\n\n<p>So far , I&#8217;ve tested LXC containers. <a href=\"https:\/\/github.com\/jiangcuo\/Proxmox-Arm64\/wiki\/Linux-Container\">More info here<\/a> &#8211; you need to add repository for arm64 images.<\/p>\n\n\n\n<p>Haven&#8217;t tested VMs yet. I will update if there are any changes or fixes I&#8217;ve found. <a href=\"https:\/\/github.com\/jiangcuo\/Proxmox-Arm64\/wiki\/Qemu-VM\">There&#8217;s some info how to do it here<\/a>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>You will need to create the bridge manually also via the interface:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/dev.krasi.net\/wp-content\/uploads\/2023\/09\/Screenshot-from-2023-09-12-08-21-15.png\" alt=\"\" class=\"wp-image-519\"\/><\/figure>\n\n\n\n<p>There will be some errors, as we created it with console commands, but just ignore them. After adding, reboot the node. This step is essential for proper creation of cluster and adding nodes.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Another thing I do (because my backups are on NFS drive) is edit \/etc\/vzdump.conf and set:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>tmpdir \/vzdump<\/code><\/pre>\n\n\n\n<p>You need to also create the folder<\/p>\n\n\n\n<p>Note: if you want to remove the annoying popup when logging in, open \/usr\/share\/javascript\/proxmox-widget-toolkit\/proxmoxlib.js and around row 549 remove the Ext show block ( be careful not to break js script ).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve successfully installed proxmox and ran some LXC containers on it on my OPI5. Basically, you follow this guide. except with few changes, related to Debian 12. First, make sure you are on the Debian 12 Bookworm ( I&#8217;ve installed the official image from Orange Pi, no idea if the others will work, but they should, in general ). Configure the hostname after editing \/etc\/hosts: Then reboot if needed ( it was needed on my side ). Continue to setup with the manual, but replace the &#8220;Add proxmox ve repository&#8221; command with: When finished, you don&#8217;t need to reboot anymore, just access the interface on the usual 8006 port. So far , I&#8217;ve tested LXC containers. More info here &#8211; you need to add repository for arm64 images. Haven&#8217;t tested VMs yet. I will update if there are any changes or fixes I&#8217;ve found. There&#8217;s some info how to do it here. You will need to create the bridge manually also via the interface: There will be some errors, as we created it with console commands, but just ignore them. After adding, reboot the node. This step is essential for proper creation of cluster and adding nodes. Another thing I [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":537,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-507","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dev.krasi.net\/index.php?rest_route=\/wp\/v2\/posts\/507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.krasi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.krasi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.krasi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.krasi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=507"}],"version-history":[{"count":2,"href":"https:\/\/dev.krasi.net\/index.php?rest_route=\/wp\/v2\/posts\/507\/revisions"}],"predecessor-version":[{"id":538,"href":"https:\/\/dev.krasi.net\/index.php?rest_route=\/wp\/v2\/posts\/507\/revisions\/538"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.krasi.net\/index.php?rest_route=\/wp\/v2\/media\/537"}],"wp:attachment":[{"href":"https:\/\/dev.krasi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.krasi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.krasi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}