<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[Proxmox - KenBinLab - Homelab and Life's Journey]]></title><description><![CDATA[Thoughts, stories and shares about homelab, tech, and life's journey]]></description><link>https://kenbinlab.com/</link><image><url>https://kenbinlab.com/favicon.png</url><title>Proxmox - KenBinLab - Homelab and Life&apos;s Journey</title><link>https://kenbinlab.com/</link></image><generator>Ghost 5.85</generator><lastBuildDate>Tue, 22 Sep 2026 00:10:16 GMT</lastBuildDate><atom:link href="https://kenbinlab.com/tag/proxmox/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[How to Install Home Assistant on Proxmox]]></title><description><![CDATA[This guide will walk you through the process of setting up Home Assistant - a powerful open-source platform for smart home automation on Proxmox.]]></description><link>https://kenbinlab.com/how-to-install-home-assistant-on-proxmox/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cc0</guid><category><![CDATA[Homelab]]></category><category><![CDATA[Home Automation]]></category><category><![CDATA[Proxmox]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sun, 03 Nov 2024 02:38:33 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1707733260992-73ff6dbed163?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDF8fGhvbWUlMjBhdXRvbWF0aW9ufGVufDB8fHx8MTczMDYwMTA0MXww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1707733260992-73ff6dbed163?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDF8fGhvbWUlMjBhdXRvbWF0aW9ufGVufDB8fHx8MTczMDYwMTA0MXww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="How to Install Home Assistant on Proxmox"><p>Home Assistant is a powerful open-source platform for smart home automation. Running it on <a href="https://kenbinlab.com/tag/proxmox/" rel="noreferrer">Proxmox VE</a>, a robust virtualization environment, offers flexibility and efficiency. This guide will walk you through the process of setting up Home Assistant on Proxmox VE.</p><h3 id="1-creating-and-setting-up-a-virtual-machine-vm">1. Creating and Setting Up a Virtual Machine (VM)</h3><p>First, let&apos;s create a new VM specifically for Home Assistant:</p><ul><li><strong>CPU</strong>: Allocate at least 2 cores.</li><li><strong>RAM</strong>: Assign a minimum of 2GB.</li><li><strong>Storage</strong>: Allocate at least 32GB of storage.</li><li><strong>Network</strong>: Use the default network settings.</li></ul><p>Steps:</p><p>Log in to your Proxmox VE web interface. Click on &quot;<strong>Create VM</strong>&quot; in the top right corner and fill in the VM details (e.g., VM ID, Name).</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-2.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="896" height="673" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-2.png 600w, https://kenbinlab.com/content/images/2024/11/image-2.png 896w" sizes="(min-width: 720px) 720px"></figure><p>On the <strong>OS </strong>tab, choose &quot;<em>Do not use any media</em>&quot;.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-3.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="900" height="673" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-3.png 600w, https://kenbinlab.com/content/images/2024/11/image-3.png 900w" sizes="(min-width: 720px) 720px"></figure><p>On the System tab, choose <strong>OVMF (UEFI)</strong> for the <em>BIOS</em>, <strong>local-lvm</strong> for <em>EFI Storage</em> and <strong>Uncheck</strong> the <em>Pre-Enroll keys</em>.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-4.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="896" height="672" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-4.png 600w, https://kenbinlab.com/content/images/2024/11/image-4.png 896w" sizes="(min-width: 720px) 720px"></figure><p>On the <strong>Disks </strong>tab, <strong>delete the default one</strong>:</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-5.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="896" height="671" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-5.png 600w, https://kenbinlab.com/content/images/2024/11/image-5.png 896w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/11/image-6.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="898" height="674" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-6.png 600w, https://kenbinlab.com/content/images/2024/11/image-6.png 898w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">No disk for the Home Assistant VM</span></figcaption></figure><p>Configure the settings of <strong>CPU </strong>to <em>2 cores</em>, and <strong>Memory to </strong>2048 MB<strong> </strong>as recommended.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-7.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="898" height="674" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-7.png 600w, https://kenbinlab.com/content/images/2024/11/image-7.png 898w" sizes="(min-width: 720px) 720px"></figure><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-8.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="899" height="672" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-8.png 600w, https://kenbinlab.com/content/images/2024/11/image-8.png 899w" sizes="(min-width: 720px) 720px"></figure><p>Under the &quot;<strong>Network</strong>&quot; tab, choose <em>vmbr0 </em>(depend on your network system).</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-9.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="895" height="674" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-9.png 600w, https://kenbinlab.com/content/images/2024/11/image-9.png 895w" sizes="(min-width: 720px) 720px"></figure><p>Then click <strong>Next</strong>, and click <strong>Finish</strong>.</p><h3 id="2-download-home-assistant-os-image-and-attach-to-homeassistant-vm">2. Download Home Assistant OS image and attach to HomeAssistant VM</h3><p>First, download the Home Assistant OS image to your Proxmox server:</p><p>Go to the Home Assistant OS image from the official <a href="https://www.home-assistant.io/installation/alternative?ref=kenbinlab.com" rel="noreferrer">Home Assistant website</a>. <em>Right click</em> on the <strong>KVM/Proxmox</strong> and <em>Copy link</em>.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="1570" height="857" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/11/image.png 1000w, https://kenbinlab.com/content/images/2024/11/image.png 1570w" sizes="(min-width: 720px) 720px"></figure><p>In the Proxmox web interface, click on the <strong>pve </strong>and open <strong>Shell</strong>, then type in <strong>wget</strong> &lt;space&gt; &lt;paste copied link&gt;, then hit Enter.</p><pre><code class="language-bash">wget https://github.com/home-assistant/operating-system/releases/download/13.2/haos_ova-13.2.qcow2.xz</code></pre><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-1.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="1425" height="1003" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-1.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/11/image-1.png 1000w, https://kenbinlab.com/content/images/2024/11/image-1.png 1425w" sizes="(min-width: 720px) 720px"></figure><p>Wait a litte time for the downloading to finish. After that, type &quot;ls&quot; to list the file. Use your mouse to select and copy filename (<strong>haos_ova-13.2.qcow2.xz</strong>). After that, run this command to unzip it:</p><pre><code class="language-bash">unxz haos_ova-13.2.qcow2.xz</code></pre><p>Wait a moment for the command completed and list the file using &quot;ls&quot; command again, you will see the file <strong>haos_ova-13.2.qcow2</strong>. </p><p>Now import the qcow2 image to Home Assistant VM as a disk using the command: <code>qm importdisk &lt;HA VM id&gt; haos_ova-13.2.qcow2 local-lvm</code></p><pre><code class="language-bash">qm importdisk 104 haos_ova-13.2.qcow2 local-lvm</code></pre><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-10.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="1070" height="690" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-10.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/11/image-10.png 1000w, https://kenbinlab.com/content/images/2024/11/image-10.png 1070w" sizes="(min-width: 720px) 720px"></figure><p>Wait for the command finish, head back to Proxmox interface and you will see <em>Unused Disk 0</em> under <em>Hardware</em> tab of the <em>Home Assistant VM</em>.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-11.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="1266" height="536" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-11.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/11/image-11.png 1000w, https://kenbinlab.com/content/images/2024/11/image-11.png 1266w" sizes="(min-width: 720px) 720px"></figure><p>Click on <strong>Edit </strong>button, and because my disk is a SSD so I <strong>check </strong>on <strong>Discard </strong>check box, if you run a a HDD then just leave it unchecked. </p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-12.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="1311" height="698" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-12.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/11/image-12.png 1000w, https://kenbinlab.com/content/images/2024/11/image-12.png 1311w" sizes="(min-width: 720px) 720px"></figure><p>Then click Add, and this will create a <strong>Hard Disk (scsi0)</strong></p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-13.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="903" height="534" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-13.png 600w, https://kenbinlab.com/content/images/2024/11/image-13.png 903w" sizes="(min-width: 720px) 720px"></figure><h3 id="3-configuring-the-vm-for-home-assistant">3. Configuring the VM for Home Assistant</h3><p>Now, let&apos;s configure the VM to ensure compatibility with Home Assistant:</p><p>Head to <strong>Option </strong>tab, double click on the &quot;<strong>Boot Order</strong>&quot; to open it, <strong>uncheck </strong><em>ide2 cdrom, net0</em>, and <strong>check </strong><em>scsi0</em> disk the prioritize the Home Assistant OS disk to boot from. Then click <strong>OK </strong>to save setting.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-14.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="965" height="649" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-14.png 600w, https://kenbinlab.com/content/images/2024/11/image-14.png 965w" sizes="(min-width: 720px) 720px"></figure><p>Under &quot;Options&quot;, enable &quot;QEMU Guest Agent&quot;.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-15.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="957" height="636" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-15.png 600w, https://kenbinlab.com/content/images/2024/11/image-15.png 957w" sizes="(min-width: 720px) 720px"></figure><h3 id="4-installing-home-assistant-os-on-proxmox">4. Installing Home Assistant OS on Proxmox</h3><p>With the VM configured, it&apos;s time to install Home Assistant OS. Start the VM and open the console. Wait for Home Assistant OS installtion finish and you can see IP and port to access Home Assistant on the screen.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-16.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="831" height="627" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-16.png 600w, https://kenbinlab.com/content/images/2024/11/image-16.png 831w" sizes="(min-width: 720px) 720px"></figure><h3 id="5-accessing-and-setting-up-home-assistant">5. Accessing and Setting Up Home Assistant</h3><p>Once the installation is complete, access the Home Assistant UI by open a web browser and navigate to <code>http://&lt;your_vm_ip&gt;:8123</code>. You may need to wait about 20 minutes for preparing Home Assistant.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-17.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="828" height="723" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-17.png 600w, https://kenbinlab.com/content/images/2024/11/image-17.png 828w" sizes="(min-width: 720px) 720px"></figure><p>After the preparing process finish, now you can complete the initial setup by click on &quot;Create My Smart Home&quot; button to start creating an account and configuring your home. </p><p>You also may need to secure your Home Assistant instance by setting up SSL and enabling two-factor authentication.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/11/image-18.png" class="kg-image" alt="How to Install Home Assistant on Proxmox" loading="lazy" width="908" height="755" srcset="https://kenbinlab.com/content/images/size/w600/2024/11/image-18.png 600w, https://kenbinlab.com/content/images/2024/11/image-18.png 908w" sizes="(min-width: 720px) 720px"></figure><h3 id="6-additional-tips">6. Additional Tips</h3><p>To optimize your Home Assistant setup, consider the following tips:</p><ul><li><strong>Automated Backups</strong>: Set up <a href="https://kenbinlab.com/backup-strategy-for-homelab/" rel="noreferrer">automated backups</a> to ensure your data is safe.</li><li><strong>Adjusting VM Resources</strong>: Monitor and adjust the VM resources as needed for optimal performance.</li><li><strong>Adding Integrations</strong>: Explore and add integrations for various smart devices to enhance your smart home experience.</li></ul><h3 id="conclusion">Conclusion</h3><p>Running Home Assistant on Proxmox VE provides a flexible and efficient way to manage your smart home. With this setup, you can easily scale resources and take advantage of Proxmox&apos;s powerful features. For more advanced configurations, check out the <a href="https://www.home-assistant.io/docs/?ref=kenbinlab.com" rel="noreferrer">Home Assistant documentation</a> and the <a href="https://pve.proxmox.com/wiki/Main_Page?ref=kenbinlab.com" rel="noreferrer">Proxmox VE wiki</a>.</p><p>I hope this helps! If you have any questions or need further assistance, feel free to ask.</p>]]></content:encoded></item><item><title><![CDATA[Installing Ubuntu Server VM on Proxmox: A Step-by-Step Guide]]></title><description><![CDATA[The process of installing Ubuntu Server on a Proxmox VM, covering everything from initial setup to post-installation configuration.]]></description><link>https://kenbinlab.com/how-to-install-ubuntu-server-on-proxmox/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cb1</guid><category><![CDATA[Proxmox]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sat, 17 Aug 2024 14:12:22 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1629654297299-c8506221ca97?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDZ8fHVidW50dSUyMHxlbnwwfHx8fDE3MjM1NTczNjd8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1629654297299-c8506221ca97?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDZ8fHVidW50dSUyMHxlbnwwfHx8fDE3MjM1NTczNjd8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="Installing Ubuntu Server VM on Proxmox: A Step-by-Step Guide"><p>Setting up a virtual machine (VM) running Ubuntu Server on Proxmox VE can transform your homelab into a versatile and efficient environment for various applications. Proxmox VE is a powerful open-source virtualization platform that combines KVM for virtual machines and LXC for containers. This guide will walk you through the process of installing Ubuntu Server on a Proxmox VM, covering everything from initial setup to post-installation configuration.</p><h3 id="why-use-proxmox-ve-and-ubuntu-server"><strong>Why Use Proxmox VE and Ubuntu Server?</strong></h3><p><strong>Proxmox VE</strong>:</p><ul><li><strong>Flexible Virtualization:</strong> Supports both KVM for full virtualization and LXC for lightweight container-based virtualization.</li><li><strong>Easy Management:</strong> Provides a web-based interface for easy management of your virtual environment.</li><li><strong>Scalable:</strong> Suitable for both small home labs and large production environments.</li></ul><p><strong>Ubuntu Server</strong>:</p><ul><li><strong>Stability and Support:</strong> Offers a stable and well-supported server operating system.</li><li><strong>Ease of Use:</strong> Known for its user-friendly setup and strong community support.</li><li><strong>Versatility:</strong> Ideal for a wide range of applications from web hosting to development environments.</li></ul><h3 id="prerequisites"><strong>Prerequisites</strong></h3><p>Before you begin, ensure you have the following:</p><ol><li><strong>Proxmox VE Installed:</strong> Ensure Proxmox VE is installed and running on your server. If you need to install it, follow the <a href="https://www.proxmox.com/en/proxmox-ve/get-started?ref=kenbinlab.com">Proxmox installation guide</a>.</li><li><strong>Ubuntu Server ISO Image:</strong> Download the latest Ubuntu Server ISO from the <a href="https://ubuntu.com/download/server?ref=kenbinlab.com">official Ubuntu website</a>.</li><li><strong>Storage Space:</strong> Ensure you have enough storage available on your Proxmox host for the VM and its data.</li><li><strong>Network Configuration:</strong> Make sure your Proxmox host is connected to the network and has internet access for downloading updates and packages.</li></ol><h3 id="step-by-step-installation-guide"><strong>Step-by-Step Installation Guide</strong></h3><h4 id="1-upload-the-ubuntu-server-iso-to-proxmox">1. <strong>Upload the Ubuntu Server ISO to Proxmox</strong></h4><ol><li><strong>Access Proxmox Web Interface:</strong><ul><li>Open your web browser and navigate to the Proxmox VE web interface. This is typically accessible at <code>https://&lt;your-proxmox-ip&gt;:8006</code>.</li></ul></li><li><strong>Login:</strong><ul><li>Enter your Proxmox username and password to log in.</li></ul></li><li><strong>Upload the ISO:</strong><ul><li>Go to the &#x201C;Datacenter&#x201D; view in the left-hand menu.</li><li>Select your Proxmox node and then click on the &#x201C;Local&#x201D; storage under &#x201C;Storage&#x201D; in the left-hand menu.</li><li>Click the &#x201C;Content&#x201D; tab and then click &#x201C;Upload.&#x201D;</li><li>Choose &#x201C;ISO Image&#x201D; as the type, browse to the Ubuntu Server ISO file you downloaded, and upload it.</li></ul></li></ol><h4 id="2-create-a-new-virtual-machine">2. <strong>Create a New Virtual Machine</strong></h4><ol><li><strong>Start the VM Creation Wizard:</strong><ul><li>Click on &#x201C;Create VM&#x201D; in the top right corner of the Proxmox web interface.</li></ul></li><li><strong>Configure VM Settings:</strong><ul><li><strong>General Tab:</strong><ul><li><strong>Node:</strong> Select the Proxmox node where you want to create the VM.</li><li><strong>VM ID:</strong> Proxmox will assign a default ID, but you can change it if needed.</li><li><strong>Name:</strong> Give your VM a meaningful name (e.g., &#x201C;Ubuntu-Server&#x201D;).</li></ul></li><li><strong>OS Tab:</strong><ul><li><strong>ISO Image:</strong> Select the Ubuntu Server ISO image you uploaded earlier.</li><li><strong>Guest OS Type:</strong> Choose &#x201C;Linux&#x201D; and &#x201C;5.x/6.x/7.x/8.x&#x201D; as the version, which is suitable for Ubuntu Server.</li></ul></li><li><strong>System Tab:</strong><ul><li><strong>BIOS:</strong> Choose &#x201C;OVMF (UEFI)&#x201D; or &#x201C;SeaBIOS&#x201D; depending on your preference. &#x201C;SeaBIOS&#x201D; is generally suitable for most setups.</li><li><strong>Machine:</strong> Select &#x201C;i440fx&#x201D; or &#x201C;q35&#x201D; (use &#x201C;i440fx&#x201D; for compatibility).</li><li><strong>Qemu Agent:</strong> Enabled.</li></ul></li><li><strong>Disks Tab:</strong><ul><li><strong>Bus/Device:</strong> Choose &#x201C;SCSI&#x201D; or &#x201C;IDE&#x201D; for the disk bus. &#x201C;SCSI&#x201D; is recommended for better performance.</li><li><strong>Disk Size:</strong> Allocate sufficient disk space for your needs (e.g., 32 GB).</li><li><strong>Discard:</strong> enable this option if you use SSD.</li><li><strong>SSD Emulation:</strong> enable this option if you use SSD.</li></ul></li><li><strong>CPU Tab:</strong><ul><li><strong>Sockets:</strong> Allocate the number of CPU sockets (e.g., 1).</li><li><strong>Cores:</strong> Specify the number of cores per socket (e.g., 2).</li></ul></li><li><strong>Memory Tab:</strong><ul><li><strong>Memory Size:</strong> Allocate RAM for the VM (e.g., 2048 MB).</li></ul></li><li><strong>Network Tab:</strong><ul><li><strong>Model:</strong> Choose &#x201C;virtio&#x201D; for better performance.</li><li><strong>Bridge:</strong> Select the network bridge (e.g., &#x201C;vmbr0&#x201D;) to connect the VM to your network.</li></ul></li></ul></li><li><strong>Confirm and Create VM:</strong> Review your settings and click &#x201C;Finish&#x201D; to create the VM.</li></ol><h4 id="3-install-ubuntu-server-on-the-vm">3. <strong>Install Ubuntu Server on the VM</strong></h4><p><strong>Start the VM:</strong></p><ol><ul><li>Select your newly created VM from the Proxmox web interface.</li><li>Click the &#x201C;Start&#x201D; button to boot up the VM.</li></ul></ol><p><strong>Open the Console:</strong> Click on the &#x201C;Console&#x201D; tab to access the VM&#x2019;s display and interact with it.</p><p><strong>Begin Installation: </strong>The VM should boot from the Ubuntu Server ISO. Follow the on-screen instructions to start the installation process.</p><p><strong>Choose Language and Keyboard Layout: </strong>Select your preferred language and keyboard layout.</p><p><strong>Network Configuration:</strong></p><ol><ul><li><strong>Automatic:</strong> The installer will automatically configure the network.</li><li><strong>Manual:</strong> If you need static IP settings, choose &#x201C;Manual&#x201D; and enter your network details.</li></ul></ol><p><strong>Configure Storage: </strong>Choose &#x201C;Guided - Use Entire Disk&#x201D; to let Ubuntu automatically partition the disk. Remember to <strong>adjust the <em>ubuntu-lv</em> line as below</strong> to make sure that Ubuntu Server will be installed into the entire disk.</p><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/Ubuntu-64-bit-2021-12-07-20-56-30-1.png" class="kg-image" alt="Installing Ubuntu Server VM on Proxmox: A Step-by-Step Guide" loading="lazy" width="800" height="600" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/Ubuntu-64-bit-2021-12-07-20-56-30-1.png 600w, https://kenbinlab.com/content/images/2024/08/Ubuntu-64-bit-2021-12-07-20-56-30-1.png 800w" sizes="(min-width: 720px) 720px"></figure><p><strong>Set Up User: </strong>Create a user account and set a password.</p><p><strong>Install Updates and Software: </strong>Choose to install <strong>OpenSSH server</strong>.</p><p><strong>Install GRUB: </strong>When prompted, install the GRUB boot loader to the disk to enable the system to boot into Ubuntu Server.</p><p><strong>Complete Installation: </strong>Once installation is complete, the VM will prompt you to remove the ISO image and reboot. Do so, and your VM will boot into Ubuntu Server. <strong>On the first boot, remember to leave the system finish cloud-init initiating.</strong></p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tientv.com/wp-content/uploads/2021/12/Ubuntu-64-bit-2021-12-07-21-09-11.png" class="kg-image" alt="Installing Ubuntu Server VM on Proxmox: A Step-by-Step Guide" loading="lazy" width="800" height="600"><figcaption><span style="white-space: pre-wrap;">Complete installation of Ubuntu Server 24.04 LTS on Proxmox</span></figcaption></figure><h4 id="4-post-installation-configuration">4. <strong>Post-Installation Configuration</strong></h4><p>Log in to your newly installed Ubuntu Server VM using the credentials you set up during installation. Then first update the system after installation:</p><pre><code>sudo apt update &amp;&amp; sudo apt dist-upgrade
</code></pre><p>Install QEMU Guest Agent:</p><pre><code>sudo apt install qemu-guest-agent
</code></pre><p>Check QEMU Guest Agent installed:</p><pre><code>systemctl status qemu-guest-agent.service
</code></pre><p>Start QEMU Guest Agent service:</p><pre><code>sudo systemctl start qemu-guest-agent.service
</code></pre><p>Turn the system off:</p><pre><code>sudo poweroff
</code></pre><p>Check the QEMU Guest Agent of the VM in enabled in Proxmox (if not -&gt; enable it). Then start the VM, check the QEMU Guest Agent started successfully:</p><pre><code>systemctl status qemu-guest-agent.service
</code></pre><h3 id="conclusion"><strong>Conclusion</strong></h3><p>You have successfully created and installed an Ubuntu Server VM on Proxmox VE. Your VM is now ready for further configuration and deployment of applications. Proxmox VE&#x2019;s powerful management features will help you efficiently manage and scale your virtual environment, while Ubuntu Server provides a stable and versatile platform for your server needs.</p><p>If you encounter any issues or need further assistance, both the Proxmox and Ubuntu communities offer extensive resources and support. Enjoy your new virtual server and the endless possibilities it brings to your homelab!</p>]]></content:encoded></item><item><title><![CDATA[How to Install Proxmox Backup Server as a VM and backup to NAS]]></title><description><![CDATA[A detailed guide on how to install Proxmox Backup Server as a VM and backup to NAS]]></description><link>https://kenbinlab.com/proxmox-backup-server-as-a-vm-and-backup-to-nas/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cb0</guid><category><![CDATA[Homelab]]></category><category><![CDATA[Proxmox]]></category><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Wed, 14 Aug 2024 14:39:40 GMT</pubDate><media:content url="https://kenbinlab.com/content/images/2024/08/pbs.png" medium="image"/><content:encoded><![CDATA[<img src="https://kenbinlab.com/content/images/2024/08/pbs.png" alt="How to Install Proxmox Backup Server as a VM and backup to NAS"><p>Setting up a Proxmox Backup Server (PBS) as a virtual machine (VM) within Proxmox Virtual Environment (PVE) is a great way to manage your backups efficiently. This guide will walk you through the process of installing PBS as a VM and configuring it to <a href="https://kenbinlab.com/backup-strategy-for-homelab/" rel="noreferrer">back up your Proxmox VMs and LXC containers</a> to a Network Attached Storage (NAS).</p><h4 id="step-1-prepare-the-proxmox-backup-server-iso">Step 1: Prepare the Proxmox Backup Server ISO</h4><ol><li><strong>Download the ISO</strong>: First, <a href="https://pbs.proxmox.com/docs/installation.html?ref=kenbinlab.com" rel="noreferrer">download the Proxmox Backup Server</a> ISO from the official Proxmox website.</li><li><strong>Upload the ISO to Proxmox</strong>: Navigate to your Proxmox web interface, go to the storage section, and upload the ISO file.</li></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/08/0.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="757" height="586" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/0.JPG 600w, https://kenbinlab.com/content/images/2024/08/0.JPG 757w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Upload the Proxmox Backup Server ISO image to the Proxmox host</span></figcaption></figure><h4 id="step-2-create-a-virtual-machine-for-proxmox-backup-server">Step 2: Create a Virtual Machine for Proxmox Backup Server</h4><ol><li><strong>Create a New VM</strong>: In the Proxmox web interface, click on &#x201C;Create VM&#x201D;.</li><li><strong>Configure VM Settings</strong>:<ul><li><strong>Node</strong>: Select the node where you want to create the VM.</li><li><strong>VM ID</strong>: Assign a unique ID for the VM.</li><li><strong>Name</strong>: Give your VM a name, e.g., <code>ProxmoxBackupServer</code>.</li><li>Check <code>Start At Boot</code> box to make sure the PBS automatically start when the system boot.</li></ul></li><li><strong>OS Configuration</strong>:<ul><li><strong>ISO Image</strong>: Select the Proxmox Backup Server ISO you uploaded.</li><li><strong>Guest OS Type</strong>: Choose <code>Linux</code> and <code>Other Linux 6.x or higher kernel</code>.</li></ul></li><li><strong>System Configuration</strong>: leave it as default</li><li><strong>Hard Disk</strong>:<ul><li><strong>Bus/Device</strong>: Choose <code>VirtIO Block</code>.</li><li><strong>Storage</strong>: Select your storage location.</li><li><strong>Disk Size</strong>: Allocate sufficient disk space (e.g., 32GB or more).</li><li><strong>SSD Emulation</strong>: checked.</li></ul></li><li><strong>CPU</strong>:<ul><li><strong>Cores</strong>: Assign at least 2 cores.</li><li><strong>Type</strong>: Set to <code>host</code> for better performance.</li></ul></li><li><strong>Memory</strong>:<ul><li><strong>RAM</strong>: Allocate at least 4GB.</li><li><strong>Ballooning Device</strong>: unchecked.</li></ul></li><li><strong>Network</strong>:<ul><li><strong>Model</strong>: Choose <code>VirtIO (paravirtualized)</code>.</li></ul></li></ol><h4 id="step-3-install-proxmox-backup-server">Step 3: Install Proxmox Backup Server</h4><ol><li><strong>Start the VM</strong>: Boot the VM from the ISO.</li><li><strong>Follow the Installation Wizard</strong>: Complete the installation by setting the root password, email, time zone, and network settings.</li><li><strong>Access the Web Interface</strong>: Once installed, access the PBS web interface via <code>https://&lt;PBS_IP&gt;:8007</code>.</li></ol><h4 id="step-4-add-a-cifs-for-smb-mount-and-configure-nas-for-backup-storage-in-proxmox-backup-server">Step 4: Add a CIFS for SMB mount and Configure NAS for Backup Storage in Proxmox Backup Server</h4><p><strong>Install CIFS Utils:</strong></p><p>After PBS installation finished, login (or SSH) as root and install CIFS Utils:</p><pre><code>apt install cifs-utils
</code></pre><p><strong>Create a Mount Directory:</strong></p><pre><code>mkdir /mnt/omvnas
</code></pre><p><strong>Add SMB credentials to mount NAS:</strong></p><p>Create .smbcreds to store NAS login data:</p><pre><code>nano /etc/samba/.smbcreds
</code></pre><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/9-1.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="845" height="565" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/9-1.JPG 600w, https://kenbinlab.com/content/images/2024/08/9-1.JPG 845w" sizes="(min-width: 720px) 720px"></figure><p>Put the username and password to the file and Save (Ctrl+O, Enter, Ctrl+X):</p><pre><code>username=smb_username
password=smb_password
</code></pre><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/10.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="241" height="140"></figure><p>Change file permission to be read-only by root:</p><pre><code>chmod 400 /etc/samba/.smbcreds
</code></pre><p><strong>Mount the SMB Share:</strong> </p><p><a href="https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/" rel="noreferrer">Create shared folder on OMVNAS</a>, then mount it to the <em>/mnt/omvnas</em> folder. Remember to replace <em>//IP-OF-NAS/SHARE-NAME</em> to your actual NAS shared folder:</p><pre><code>mount -t cifs -o rw,vers=3.0,credentials=/etc/samba/.smbcreds,uid=34,gid=34 //IP-OF-NAS/SHARE-NAME /mnt/omvnas
</code></pre><figure class="kg-card kg-bookmark-card"><a class="kg-bookmark-container" href="https://kenbinlab.com/install-openmediavault-on-proxmox-and-enable-smb-share/"><div class="kg-bookmark-content"><div class="kg-bookmark-title">Step-by-Step Guide to Install OpenMediaVault on Proxmox and Enabling SMB Share</div><div class="kg-bookmark-description">A comprehensive guide for installing OpenMediaVault on Proxmox and setting up an SMB share for easy file sharing across your network</div><div class="kg-bookmark-metadata"><img class="kg-bookmark-icon" src="https://kenbinlab.com/favicon.ico" alt="How to Install Proxmox Backup Server as a VM and backup to NAS"><span class="kg-bookmark-author">KenBin lab - Homelab and tech</span><span class="kg-bookmark-publisher">Ken Bin</span></div></div><div class="kg-bookmark-thumbnail"><img src="https://kenbinlab.com/content/images/2024/07/omv.JPG" alt="How to Install Proxmox Backup Server as a VM and backup to NAS"></div></a></figure><p>Check if the shared folder is mounted successfully by make a new directory name &quot;test&quot; using the command in terminal, and check it appear in your NAS:</p><pre><code>mkdir /mnt/omvnas/test
</code></pre><p><strong>Make the Mount Persistent</strong>: </p><p>Edit the <em>fstab </em>file to automatically mount the folder when the PBS server boot:</p><pre><code>nano /etc/fstab
</code></pre><p>Add this line to the <em>fstab</em> file and Save. Remember to replace <em>//IP-OF-NAS/SHARE-NAME</em> to your actual NAS shared folder:</p><pre><code>//IP-OF-NAS/SHARE-NAME /mnt/omvnas cifs vers=3.0,credentials=/etc/samba/.smbcreds,uid=34,gid=34,defaults 0 0
</code></pre><p>These steps will ensure your SMB share is mounted and accessible in Proxmox Backup Server.</p><h4 id="step-5-configure-proxmox-backup-server">Step 5: Configure Proxmox Backup Server</h4><ol><li><strong>Initial Setup</strong>:<ul><li><strong>Login</strong>: Use the root credentials to log in.</li><li><strong>Network Configuration</strong>: Ensure the network settings are correct.</li></ul></li><li><strong>Create a Datastore</strong>:<ul><li><strong>Navigate to Datastore</strong>: In the PBS web interface, go to <code>Datastore</code> and create a new datastore.</li><li><strong>Path</strong>: Specify the path where backups will be stored.</li></ul></li></ol><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/12.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="1371" height="660" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/12.JPG 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/12.JPG 1000w, https://kenbinlab.com/content/images/2024/08/12.JPG 1371w" sizes="(min-width: 720px) 720px"></figure><h4 id="step-6-add-proxmox-backup-server-to-proxmox-ve">Step 6: Add Proxmox Backup Server to Proxmox VE</h4><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/08/13.JPG" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="1662" height="636" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/13.JPG 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/13.JPG 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/13.JPG 1600w, https://kenbinlab.com/content/images/2024/08/13.JPG 1662w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Add Storage in PVE</span></figcaption></figure><ol><ul><li><strong>Navigate to Datacenter</strong>: In the Proxmox web interface, go to <code>Datacenter</code> &gt; <code>Storage</code>.</li><li><strong>Add Storage</strong>: Click on <code>Add</code> and select <code>Proxmox Backup Server</code>.</li><li><strong>Configuration</strong>: Enter the PBS ID <code>pbs-main</code>, PBS IP , username (<code>root@pam</code>), password, and datastore name<code>pbs-main</code>.</li><li><strong>Fingerprint</strong>: Paste the PBS fingerprint here (to get it: go to Proxmox Backup Server, under  <code>Configuration -&gt; Certificates -&gt; View Certificate</code> , copy the Fingerprint) </li></ul></ol><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/08/image-2.png" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="1468" height="888" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-2.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image-2.png 1000w, https://kenbinlab.com/content/images/2024/08/image-2.png 1468w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Copy the Fingerprint of Proxmox Backup Server</span></figcaption></figure><h4 id="step-7-configure-backup-jobs">Step 7: Configure Backup Jobs</h4><ol><li><strong>Create Backup Jobs</strong>:<ul><li><strong>Navigate to Datacenter</strong>: In the Proxmox web interface, go to <code>Datacenter</code> &gt; <code>Backup</code>.</li><li><strong>Add a New Job</strong>: Click on <code>Add</code> and configure the backup job.</li><li><strong>Storage</strong>: <em>choose the PBS storage created in the previous step</em>: <code>pbs-main</code> </li><li><strong>Schedule</strong>: Set the schedule for the backups.</li><li><strong>Selection</strong>: Choose the VMs and LXC containers to back up.</li></ul></li></ol><figure class="kg-card kg-image-card"><img src="https://kenbinlab.com/content/images/2024/08/image-3.png" class="kg-image" alt="How to Install Proxmox Backup Server as a VM and backup to NAS" loading="lazy" width="893" height="483" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image-3.png 600w, https://kenbinlab.com/content/images/2024/08/image-3.png 893w" sizes="(min-width: 720px) 720px"></figure><h4 id="step-9-verify-and-monitor-backups">Step 9: Verify and Monitor Backups</h4><ol><li><strong>Run a Test Backup</strong>: Manually trigger a backup job to ensure everything is working correctly.</li><li><strong>Monitor Backups</strong>: Use the PBS web interface to monitor backup status and logs.</li></ol><p>By following these steps, you can efficiently set up a Proxmox Backup Server as a VM within Proxmox and configure it to back up your VMs and LXC containers to a NAS. This setup ensures that your data is securely backed up and easily recoverable in case of any issues.</p><p>Feel free to ask if you have any questions or need further assistance!</p>]]></content:encoded></item><item><title><![CDATA[How to delete a PVE Node in 2-Node Proxmox Cluster]]></title><description><![CDATA[This guide will walk you through the steps to safely delete a node from your Proxmox cluster.]]></description><link>https://kenbinlab.com/how-to-delete-a-pve-node-in-2-node-proxmox-cluster/</link><guid isPermaLink="false">6aa4d00040a9e200012c5caf</guid><category><![CDATA[Proxmox]]></category><category><![CDATA[Homelab]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sun, 11 Aug 2024 02:06:16 GMT</pubDate><media:content url="https://images.unsplash.com/flagged/photo-1578728890856-8bbf3883aa6d?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDh8fGRlbGV0ZXxlbnwwfHx8fDE3MjMzNDE4NDh8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/flagged/photo-1578728890856-8bbf3883aa6d?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDh8fGRlbGV0ZXxlbnwwfHx8fDE3MjMzNDE4NDh8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="How to delete a PVE Node in 2-Node Proxmox Cluster"><p>Managing a Proxmox Virtual Environment (PVE) cluster can sometimes require removing a node, especially in a small 2-node setup. This guide will walk you through the steps to safely delete a node from your Proxmox cluster.</p><h4 id="prerequisites">Prerequisites</h4><p>Before you begin, ensure you have:</p><ul><li>Administrative access to the Proxmox cluster.</li><li><strong>Important</strong>: Moved <strong>all</strong> virtual machines (VMs) and containers (LXCs) from the node you want to remove, using <em>Migrate</em> feature in the proxmox cluster. Delete all VMs/LXCs that you don&apos;t need to use anymore. If you don&apos;t move or delete all VMs/LXCs in the node then after delete node, these VMs/LXCs will remain appear in the web GUI after deleting node (see Step 4 to solve this).</li><li>Backed up any important data.</li></ul><h4 id="steps-to-remove-a-node">Steps to Remove a Node</h4><ol><li><strong>Power Off the Node</strong>: First, power off the node you want to remove by using the web GUI or SSH to the server and run poweroff command. This ensures that it won&#x2019;t interfere with the cluster during the removal process. As noted earlier, it&apos;s essential to turn off the node <strong>before </strong>removing it and ensure it <strong>doesn&apos;t restart</strong> with its current settings <strong>within</strong> the cluster network. If you power it on without adjustments, it could <strong>disrupt the cluster</strong> and make it challenging to restore functionality.</li></ol><pre><code class="language-bash">ssh root@&lt;node-to-remove&gt;
poweroff
</code></pre><ol start="2"><li><strong>Adjust Expected Votes</strong>: Since you have a 2-node cluster, you need to adjust the expected votes to maintain quorum. Run the following command <strong>on the remaining node</strong>:</li></ol><pre><code class="language-bash">pvecm expected 1
</code></pre><p>This command sets the expected votes to 1, allowing the cluster to function with a single node temporarily.</p><ol start="3"><li><strong>Delete the Node</strong>: Use the <code>pvecm delnode &lt;node-name&gt;</code> command to remove the node from the cluster. Replace <code>&lt;node-name&gt;</code> with the name of the node you want to delete, for example: <em><code>pvecm delnode pve2</code></em></li></ol><pre><code class="language-bash">pvecm delnode pve2
</code></pre><p>This command updates the cluster configuration and removes the node.</p><ol start="4"><li><strong>Clean Up Configuration Files</strong>: If the node still appears in the Proxmox GUI, you might need to manually remove its configuration files. On the remaining node, delete the directory corresponding to the removed node:</li></ol><pre><code class="language-bash">rm -rf /etc/pve/nodes/&lt;node-name&gt;
</code></pre><p>The output should no longer list the removed node.</p><ol start="5"><li><strong>Verify the Removal</strong>: Check the cluster status to ensure the node has been successfully removed:</li></ol><pre><code class="language-bash">pvecm status
</code></pre><p>The output should no longer list the removed node.</p><h4 id="conclusion">Conclusion</h4><p>Removing a node from a 2-node Proxmox cluster requires careful steps to maintain cluster integrity. By following this guide, you can safely delete a node and ensure your cluster continues to operate smoothly. Always remember to back up your data and verify each step to avoid any disruptions.</p><p>If, for whatever reason, you want the removed server to join the same cluster again, you have to:</p><ul><li>Do a <strong>fresh install</strong> of Proxmox VE on it,</li><li>Then <strong>join </strong>it.</li></ul><p>I hope this helps! If you have any further questions or need additional assistance, feel free to share your experiences or ask questions in the comments below! &#x1F60A;</p>]]></content:encoded></item><item><title><![CDATA[How to Change Proxmox Management IP Address]]></title><description><![CDATA[This blog post will guide you through the steps to successfully change the Proxmox management IP address]]></description><link>https://kenbinlab.com/how-to-change-proxmox-management-ip-address-2/</link><guid isPermaLink="false">6aa4d00040a9e200012c5cab</guid><category><![CDATA[Homelab]]></category><category><![CDATA[Proxmox]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sun, 21 Jul 2024 02:44:49 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1531765408077-9a1f85f90df1?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDN8fGV0aGVybmV0fGVufDB8fHx8MTcyMTI3NjE5NXww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1531765408077-9a1f85f90df1?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDN8fGV0aGVybmV0fGVufDB8fHx8MTcyMTI3NjE5NXww&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="How to Change Proxmox Management IP Address"><p>Changing the management IP address of your Proxmox server is a common task that may be necessary when moving your server to a new network or reorganizing your existing network. This blog post will guide you through the steps to successfully change the Proxmox management IP address.</p><h2 id="understanding-proxmox-network-configuration">Understanding Proxmox Network Configuration</h2><p>Before proceeding with the IP address change, it&#x2019;s important to understand that Proxmox uses a static IP address setup by default. This IP address is used to access the web management interface on port 8006.</p><p>Remember to perform these actions <strong>during a maintenance window or when it&apos;s convenient</strong>, as network changes can temporarily disrupt access to the Proxmox server.</p><h2 id="step-by-step-guide-to-change-the-proxmox-management-ip-address">Step-by-step guide to change the Proxmox Management IP Address</h2><p><strong>Step 1 - Access the Proxmox Server</strong>: Log in to your Proxmox server via SSH or directly through the console.</p><p><strong>Step 2 - Edit Network Configuration</strong>: Use a text editor like <code>nano</code> to edit the <code>/etc/network/interfaces</code> file. This file contains the network configuration for your Proxmox server.</p><pre><code class="language-bash">nano /etc/network/interfaces</code></pre><p><strong>Step 3 - Locate the Current IP Configuration</strong>: Find the section in the file that corresponds to your management network interface, usually labeled as <code>eth0</code>.</p><pre><code>auto eth0
iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0
    gateway 192.168.1.1</code></pre><p><strong>Step 4 - Update the IP Address</strong>: Change the&#xA0;<code>address</code>&#xA0;line to your new desired IP address. If you are changing the subnet, you will also need to update the&#xA0;<code>netmask</code>&#xA0;and&#xA0;<code>gateway</code>.</p><p><strong>Step 5 - Save the Changes</strong>: After making the necessary changes, save the file and exit the text editor (in nano, you can do this by pressing Ctrl+X, then Y, and then Enter).</p><p><strong>Step 6 - Restart the network service</strong>: Apply the changes by restarting the network service. This can be done using the following command:</p><pre><code class="language-bash">systemctl restart networking</code></pre><p><strong>Step 7 - Verify the changes</strong>: Confirm that the IP address has been updated by checking the network interface configuration with below command. Replace eth0 with the actual network interface name if it&apos;s different: </p><pre><code class="language-bash">ip addr show eth0</code></pre><p><strong>Step 8 - Edit the Hosts File</strong>: Update the&#xA0;<code>/etc/hosts</code>&#xA0;file with the new IP address to ensure that the Proxmox server can correctly resolve its own hostname</p><pre><code class="language-bash">nano /etc/hosts</code></pre><p><strong>Step 9 - Reboot the Server</strong>: Once all changes are made, reboot the Proxmox server to apply the new network configuration if needed:</p><pre><code class="language-bash">reboot now</code></pre><p><strong>Step 10 - Verify the Changes</strong>: After the server reboots, verify that you can access the Proxmox web interface using the new IP address.</p><p><strong>Step 11 - Update IP of VMs, LXC and other services</strong>: If needed, you have to change IP of proxmox virtual machines, lxc containers and other services. For example, in my case, I have to update IP address of OPNsense VM, and update it&apos;s gateway address by go to OPNsense management web GUI -&gt; System -&gt; Gateway -&gt; Configurations to change these parameters:</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/08/image.png" class="kg-image" alt="How to Change Proxmox Management IP Address" loading="lazy" width="1901" height="876" srcset="https://kenbinlab.com/content/images/size/w600/2024/08/image.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/08/image.png 1000w, https://kenbinlab.com/content/images/size/w1600/2024/08/image.png 1600w, https://kenbinlab.com/content/images/2024/08/image.png 1901w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Update OPNsense Gateway IP address</span></figcaption></figure><h2 id="conclusion">Conclusion</h2><p>Changing the management IP address of your Proxmox server is a straightforward process that involves editing a couple of configuration files and rebooting the server. Always ensure that you have a backup of your configuration files before making changes, and verify that the new settings are working as expected.</p><p>Remember, this guide focuses on changing the management IP address and does not cover changes to the IP addresses of virtual machines or containers hosted on the Proxmox server.&#xA0;For more detailed instructions or if you encounter any issues, consider watching tutorial videos or reading comprehensive guides available online.</p><p>Happy virtualizing!</p>]]></content:encoded></item><item><title><![CDATA[How to add NFS share from Synology DSM to backup Proxmox virtual machine]]></title><description><![CDATA[This post guides step-by-step to set up an NFS share from a Synology DSM (DiskStation Manager), add it to Proxmox and use added NFS Storage to back up Proxmox virtual machines.]]></description><link>https://kenbinlab.com/how-to-add-nfs-storage-to-proxmox/</link><guid isPermaLink="false">6aa4d00040a9e200012c5ca9</guid><category><![CDATA[Proxmox]]></category><category><![CDATA[Homelab]]></category><category><![CDATA[NAS]]></category><dc:creator><![CDATA[Ken]]></dc:creator><pubDate>Sat, 13 Jul 2024 09:48:50 GMT</pubDate><media:content url="https://images.unsplash.com/photo-1517819655378-25fe37197692?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDR8fE5BU3xlbnwwfHx8fDE3MjA4NjQxNzF8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" medium="image"/><content:encoded><![CDATA[<img src="https://images.unsplash.com/photo-1517819655378-25fe37197692?crop=entropy&amp;cs=tinysrgb&amp;fit=max&amp;fm=jpg&amp;ixid=M3wxMTc3M3wwfDF8c2VhcmNofDR8fE5BU3xlbnwwfHx8fDE3MjA4NjQxNzF8MA&amp;ixlib=rb-4.0.3&amp;q=80&amp;w=2000" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine"><p>To set up an NFS share from a Synology DSM (DiskStation Manager) and use it to back up a Proxmox virtual machine (VM), you&apos;ll need to follow a series of steps. Here&apos;s a detailed, step-by-step guide to help you through the process:</p><h3 id="1-set-up-nfs-share-on-synology-dsm">1. Set Up NFS Share on Synology DSM</h3><p><strong>1.1. Log into Synology DSM</strong></p><ul><li>Open a web browser and log into your Synology DSM interface using your administrator credentials.</li></ul><p><strong>1.2. Open Control Panel</strong></p><ul><li>Go to the <strong>Control Panel</strong> from the main menu.</li></ul><p><strong>1.3. Configure NFS</strong></p><ul><li>Navigate to <strong>File Services</strong>.</li><li>Under the <strong>File Services</strong> tab, click on <strong>NFS</strong> and enable NFS by checking the appropriate box. Click <strong>Apply</strong> if prompted.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="1422" height="809" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image.png 600w, https://kenbinlab.com/content/images/size/w1000/2024/07/image.png 1000w, https://kenbinlab.com/content/images/2024/07/image.png 1422w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Enable NFS service in Synology DSM</span></figcaption></figure><p><strong>1.4. Create a Shared Folder</strong></p><ul><li>Go to <strong>Shared Folder</strong> under <strong>File Services</strong>.</li><li>Click <strong>Create</strong> to set up a new shared folder. Follow the wizard to define the folder name, location, and permissions.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-1.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="999" height="734" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-1.png 600w, https://kenbinlab.com/content/images/2024/07/image-1.png 999w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Create shared folder to use as NFS for Proxmox</span></figcaption></figure><ul><li>Configure the shared folder quota if you want to limit backup capacity</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-2.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="793" height="578" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-2.png 600w, https://kenbinlab.com/content/images/2024/07/image-2.png 793w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">Config shared folder quota</span></figcaption></figure><p><strong>1.5. Configure NFS Permissions</strong></p><ul><li>After creating the shared folder, select it from the list and click <strong>Edit</strong>.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://thuanbui.me/wp-content/uploads/2023/05/xpenology-nfs-sharing-7.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy"><figcaption><span style="white-space: pre-wrap;">Edit Synology DSM shared folder</span></figcaption></figure><ul><li>Go to the <strong>Permissions</strong> tab, and then click on <strong>NFS Permissions</strong>.</li><li>Click <strong>Create</strong> to add a new NFS rule.</li><li>In the NFS rule setup, specify the following:<ul><li><strong>Hostname or IP</strong>: Enter the IP address of your Proxmox server or use <code>*</code> for all.</li><li><strong>Privilege</strong>: Set to <strong>Read/Write</strong> (or <strong>Read-only</strong> if you only need read access).</li><li><strong>Squash</strong>: Select the appropriate option (usually <strong>Map all users to admin</strong>). If you do not select &apos;Map all users to admin&apos; for the Squash option, you will encounter a &apos;Permission&apos; error when backing up LXC containers on Proxmox.</li><li><strong>Security</strong>: Configure as needed (default is often sufficient).</li></ul></li><li>Click <strong>OK</strong> to apply the settings.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-5.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="682" height="494" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-5.png 600w, https://kenbinlab.com/content/images/2024/07/image-5.png 682w"><figcaption><span style="white-space: pre-wrap;">Config NFS Permissions</span></figcaption></figure><h3 id="2-mount-the-nfs-share-on-proxmox">2. Mount the NFS Share on Proxmox</h3><p><strong>2.1. Log into Proxmox Web Interface</strong></p><ul><li>Open your web browser and log into the Proxmox VE web interface.</li></ul><p><strong>2.2. Access Node Configuration</strong></p><ul><li>Select the Proxmox node where you want to mount the NFS share.</li><li>Go to the <strong>Datacenter</strong> view and then to the <strong>Storage</strong> tab.</li></ul><p><strong>2.3. Add NFS Storage</strong></p><ul><li>Click <strong>Add</strong> and select <strong>NFS</strong>.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://thuanbui.me/wp-content/uploads/2023/05/proxmox-storage-nfs-1.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="1329" height="946"><figcaption><span style="white-space: pre-wrap;">Add NFS to Proxmox Datacenter</span></figcaption></figure><ul><li>Fill in the NFS configuration details:<ul><li><strong>ID</strong>: Enter a unique name for the storage.</li><li><strong>Server</strong>: Enter the IP address or hostname of your Synology NAS.</li><li><strong>Export</strong>: Enter the path of the shared folder created on Synology (e.g., <code>/volume2/proxmox</code>).</li><li><strong>Content</strong>: Check the boxes for the types of content you want to store (e.g., VZDump backup file).</li><li><strong>Nodes</strong>: Select the nodes that should have access to this storage.</li></ul></li><li>Click <strong>Add</strong> to save the configuration.</li></ul><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://kenbinlab.com/content/images/2024/07/image-4.png" class="kg-image" alt="How to add NFS share from Synology DSM to backup Proxmox virtual machine" loading="lazy" width="744" height="350" srcset="https://kenbinlab.com/content/images/size/w600/2024/07/image-4.png 600w, https://kenbinlab.com/content/images/2024/07/image-4.png 744w" sizes="(min-width: 720px) 720px"><figcaption><span style="white-space: pre-wrap;">NFS configuration details</span></figcaption></figure><h3 id="3-configure-backup-job">3. Configure Backup Job</h3><p><strong>3.1. Go to Proxmox Backup Configuration</strong></p><ul><li>In the Proxmox web interface, navigate to <strong>Datacenter</strong> and then to <strong>Backup</strong>.</li></ul><p><strong>3.2. Create a Backup Job</strong></p><ul><li>Click <strong>Add</strong> to create a new backup job.</li><li>Configure the job settings:<ul><li><strong>ID</strong>: Enter a name for the backup job.</li><li><strong>Storage</strong>: Select the NFS storage you configured earlier.</li><li><strong>Schedule</strong>: Set the schedule for automatic backups.</li><li><strong>Compression</strong>: Choose the compression method if required.</li><li><strong>Retention</strong>: Configure how long backups should be retained.</li></ul></li></ul><p><strong>3.3. Specify VM and Backup Options</strong></p><ul><li>Choose the VMs to be backed up.</li><li>Configure additional options as needed, such as backup mode (snapshot, stop, or suspend).</li></ul><h3 id="4-verify-and-monitor">4. Verify and Monitor</h3><p><strong>4.1. Run Backup Job Manually</strong></p><ul><li>To test the configuration, you can run the backup job manually from the backup configuration screen.</li></ul><p><strong>4.2. Monitor Backup Jobs</strong></p><ul><li>Check the status of backup jobs and ensure that they are running successfully.</li><li>Monitor logs and storage space to ensure everything is working as expected.</li></ul><h3 id="troubleshooting">Troubleshooting</h3><ul><li><strong>Connection Issues</strong>: Ensure that the Proxmox server can reach the Synology NAS over the network and that there are no firewall rules blocking NFS traffic.</li><li><strong>Permissions Issues</strong>: Double-check NFS permissions on the Synology DSM and ensure that the Proxmox server IP has the correct access rights.</li></ul><p>By following these steps, you should be able to successfully set up an NFS share on Synology DSM and use it for backing up Proxmox virtual machines.</p>]]></content:encoded></item></channel></rss>