Skip to content

Nuface Blog

隨意隨手記 Casual Notes

Menu
  • Home
  • About
  • Services
  • Blog
  • Contact
  • Privacy Policy
  • Login/Logout
Menu

Category: Virtualization

About virtualization PVE / PBS

PVE: Should You Use a Container (CT) or a Virtual Machine (VM)? A Practical Guide Based on Real-World Experience

Posted on 2026-06-252026-06-25 by Rico

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….

Read more

PVE:到底該使用 CT 還是 VM?一次了解兩者的差異與適用情境

Posted on 2026-06-252026-06-25 by Rico

開始使用 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…

Read more

Proxmox VE + Proxmox Backup Server Integration & Cross-Node Restore Guide

Posted on 2025-11-132025-11-13 by Rico

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…

Read more

Proxmox VE + Proxmox Backup Server 建置與跨機還原完整操作指南

Posted on 2025-11-132025-11-13 by Rico

以下示範皆以匿名命名的環境為例: 本文將說明如何: 本流程適用: 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 連到…

Read more

How to Switch Proxmox Backup Server 4.x to the Community No-Subscription Repository

Posted on 2025-11-13 by Rico

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…

Read more

Proxmox Backup Server 4.x:切換成社群版 (No-Subscription) 更新源完整教學

Posted on 2025-11-132025-11-13 by Rico

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 官方建議使用…

Read more

Complete Guide: Installing and Configuring OPNsense Firewall on Proxmox VE

Posted on 2025-11-062025-11-06 by Rico

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…

Read more

在 Proxmox VE 上安裝與設定 OPNsense 防火牆完整指南

Posted on 2025-11-062025-11-06 by Rico

適用對象:網管人員、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 張 一張…

Read more

KVM/Libvirt Field Notes: VM Migration, Operations, and Troubleshooting

Posted on 2025-11-042025-11-04 by Rico

(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…

Read more

KVM/Libvirt 實戰筆記:VM 搬移、操作指令與疑難排解(以 Win10 由 a3520→a1550 為例)

Posted on 2025-11-042025-11-04 by Rico

這篇把這次把 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…

Read more

Posts pagination

  • 1
  • 2
  • 3
  • 4
  • …
  • 6
  • Next

Recent Posts

  • Enterprise AI Platform – AI Security Architecture: Protecting More Than Just the Model
  • 企業 AI 平台-AI Security Architecture:當企業導入 AI,真正需要保護的不只是模型
  • 企業 AI 不只是 LLM:打造高品質 RAG 知識庫的架構與最佳實務
  • Enterprise AI Beyond a Single Agent: Designing an Agent-to-Agent (A2A) Architecture
  • 當企業 AI 不再只有一個 Agent:談 A2A(Agent to Agent)架構

Recent Comments

  1. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on High Availability Architecture, Failover, GeoDNS, Monitoring, and Email Abuse Automation (SOAR)
  2. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on MariaDB + PostfixAdmin: The Core of Virtual Domain & Mailbox Management
  3. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Daily Operations, Monitoring, and Performance Tuning for an Enterprise Mail System
  4. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Final Chapter: Complete Troubleshooting Guide & Frequently Asked Questions (FAQ)
  5. Building a Complete Enterprise-Grade Mail System (Overview) - Nuface Blog on Network Architecture, DNS Configuration, TLS Design, and Postfix/Dovecot SNI Explained

Archives

  • July 2026
  • June 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025

Categories

  • AI
  • Apache
  • CUDA
  • Cybersecurity
  • Database
  • DNS
  • Docker
  • Fail2Ban
  • FileSystem
  • Firewall
  • Lean
  • Linux
  • LLM
  • Mail
  • MIS
  • N8N
  • OpenLdap
  • OPNsense
  • PHP
  • Python
  • QoS
  • Samba
  • Switch
  • Virtualization
  • VPN
  • VSM
  • WordPress
© 2026 Nuface Blog | Powered by Superbs Personal Blog theme