When you start using Proxmox VE (PVE), one of the first questions you’ll likely ask is: “Should I deploy this service as a Container (CT) or a Virtual Machine (VM)?” When I first began working with PVE, I was attracted by the lightweight nature of Containers and tried to deploy almost everything as a CT….
Category: Virtualization
About virtualization PVE / PBS
PVE:到底該使用 CT 還是 VM?一次了解兩者的差異與適用情境
開始使用 Proxmox VE(PVE)之後,很多人第一個會遇到的問題就是: 「這個服務到底要建立成 CT(Container)還是 VM(Virtual Machine)?」 剛接觸 PVE 時,我也曾經因為覺得 CT 較省資源,而嘗試將各種服務都建立成 CT。直到後來開始部署 Docker、Mail Server 等較複雜的系統,才逐漸發現 CT 與 VM 並不是誰比較好,而是適用的場景不同。 本文整理兩者的差異,以及我目前實際使用 PVE 後的建議,希望能讓剛開始接觸 PVE 的朋友少走一些彎路。 什麼是 VM? Virtual Machine(虛擬機器)可以想像成: 在一台電腦裡,再建立另一台完整的電腦。 每一台 VM 都有自己的: 因此 VM 幾乎與實體電腦沒有差別。 優點包括: 缺點則是: 什麼是 CT? Container(LXC)則完全不同。 它並沒有自己的 Kernel,而是直接與 PVE Host 共用 Linux Kernel。 因此它更像是一個: 彼此隔離、但共用作業系統核心的 Linux 執行環境。 由於少了一層虛擬化,因此具有不少優點: 但限制也不少: CT…
Proxmox VE + Proxmox Backup Server Integration & Cross-Node Restore Guide
This guide demonstrates how to integrate: The goal is: 1. Architecture Overview Both PVE nodes back up to the same PBS.A VM backed up on PVE1 can be restored directly on PVE2. 2. Install PBS1 Install PBS on a physical host or on a VM.Access the web interface: 3. Create a Datastore PBS Web UI…
Proxmox VE + Proxmox Backup Server 建置與跨機還原完整操作指南
以下示範皆以匿名命名的環境為例: 本文將說明如何: 本流程適用: 1. 整體架構概念 每台 PVE 都把 VM 備份到 PBS。未來若要將 VM 從 PVE1 移動到 PVE2,只需在 PVE2 從 PBS 還原即可。 不需要叢集、不需要共用儲存,也不需要仲裁機(qdevice)。這是兩台 PVE 最穩定、風險最低的部署方式。 2. 安裝 Proxmox Backup Server(PBS1) 可使用: 安裝完成後,以瀏覽器登入: 3. 建立 Datastore 在 PBS Web 管理介面: 4. 建立 API Token(給 PVE 連線使用) 在 PBS Web GUI: 5. 設定 PBS 權限(非常重要) PVE 使用 Token 連到…
How to Switch Proxmox Backup Server 4.x to the Community No-Subscription Repository
After installing Proxmox Backup Server (PBS), the system is configured to use the Enterprise Repository by default.This repository requires a paid subscription, and without one, you may see errors such as: Fortunately, Proxmox provides a No-Subscription (Community) repository, which allows free access to updates and security patches.This guide documents the complete process for converting PBS…
Proxmox Backup Server 4.x:切換成社群版 (No-Subscription) 更新源完整教學
Proxmox Backup Server(PBS)在安裝完成後,預設會啟用 Enterprise 企業版更新源,需要付費訂閱才能正常使用。如果你沒有企業授權,每次更新時會看到以下錯誤: 其實 Proxmox 官方也提供 No-Subscription 的免費社群版更新源,只要切換來源,就能正常取得系統更新與安全性修補。 這篇文章記錄 PBS 4.x(Debian 13 trixie) 切換到社群版更新源的完整步驟。 ✅ 1. 檢查目前系統版本 PBS 4.x 對應 Debian 13 trixie,你可以確認: 若顯示 13.x 或 trixie,代表你使用的是 PBS 4.x 對應的系統版本。 ✅ 2. 停用 Enterprise 企業版更新源 PBS 預設的企業版 repository 存放於: 編輯它: 將整個內容全部註解掉或加入: 例如: 這樣即可完全停用企業版更新源。 ✅ 3. 建立社群版 (No-Subscription) 更新源 Proxmox Backup Server 4.x 官方建議使用…
Complete Guide: Installing and Configuring OPNsense Firewall on Proxmox VE
Audience: IT administrators, network engineers, and virtualization enthusiastsEnvironment: Proxmox VE + OPNsense (FreeBSD-based firewall) 📘 1. Why Choose OPNsense? OPNsense is a FreeBSD-based open-source firewall maintained by Deciso.It offers enterprise-grade features — IDS/IPS, traffic shaping, VPN, proxy, and QoS — in a modern web interface with active updates. When running Proxmox VE, OPNsense is one…
在 Proxmox VE 上安裝與設定 OPNsense 防火牆完整指南
適用對象:網管人員、IT 維運、虛擬化環境使用者實作環境:Proxmox VE + OPNsense(FreeBSD-based firewall) 📘 一、為什麼選擇 OPNsense? OPNsense 是一款基於 FreeBSD 的開源防火牆系統,由 Deciso 公司維護,擁有企業級功能(如 IDS/IPS、流量監控、VPN、QoS、Proxy 等)。與 pfSense 相比,它的介面更現代化、套件更穩定,且更新頻率高。 如果你的公司正在使用 Proxmox VE(PVE) 進行虛擬化,OPNsense 是最理想的虛擬防火牆解決方案之一。 ⚙️ 二、在 Proxmox 上安裝 OPNsense 1️⃣ 系統需求建議 項目 最低需求 建議配置 CPU 2 Core 2~4 Core(支援 VT-x / AMD-V) RAM 2GB 4~8GB(視流量與 IDS 功能而定) Disk 10GB 20GB 以上 NIC 2 張 一張…
KVM/Libvirt Field Notes: VM Migration, Operations, and Troubleshooting
(Example: Moving a Windows 10 VM from a3520 → a1550) This note records how we moved win10-cht-pro-basic from a3520 (CentOS 7) to a1550 (Ubuntu 24), including common operations, the cold-migration flow, XML adjustments, RDP/console access, ways to get the guest IP, and frequent errors. Reuse this as a checklist for future cases. 1) Handy virsh…
KVM/Libvirt 實戰筆記:VM 搬移、操作指令與疑難排解(以 Win10 由 a3520→a1550 為例)
這篇把這次把 win10-cht-pro-basic 從 a3520 (CentOS 7) 搬到 a1550 (Ubuntu 24) 的過程與重點全記下來,包含基本操作、冷遷移流程、XML 調整、RDP/主控台連線、取 IP 方法與常見錯誤排查。未來同類案件照表操課即可。 一、最常用 virsh 指令小抄 二、冷遷移(建議做法,跨版本最穩) CentOS7 ↔ Ubuntu24 的 libvirt/QEMU 版本差距大,不建議 live migrate。冷遷移:關機→匯出→搬磁碟→修 XML→匯入。 1) 在來源 a3520 關機並匯出定義 2) 複製虛擬磁碟到目的 a1550 先查磁碟路徑: 搬檔: 3) 在 a1550 調整 XML(重點 4 件) 打開 /tmp/win10.xml 依下列重點修改: (A) QEMU 執行檔路徑(Ubuntu 24) 來源機若是 /usr/libexec/qemu-kvm 會報錯,需改為上面這條。 (B) CPU…