Teknologi
Panduan Lengkap Proxmox VE: Virtualisasi Server dari Nol
Baca juga
📚 Baca juga
Proxmox VE (Virtual Environment) adalah platform virtualisasi open-source berbasis Debian Linux yang menggabungkan dua teknologi virtualisasi terkemuka: KVM (Kernel-based Virtual Machine) untuk full virtualization dan LXC (Linux Containers) untuk container-based virtualization. Dengan interface web yang intuitif, Proxmox memudahkan siapa saja untuk mengelola multiple virtual machines dan containers dari satu tempat.
## Mengapa Proxmox VE?
**Alternatif Gratis untuk VMware vSphere.** VMware ESXi dan vSphere adalah standar industri untuk enterprise virtualisasi, tapi lisensinya mahal. Proxmox VE menawarkan fitur serupa — cluster management, live migration, backup, dan high availability — tanpa biaya lisensi.
**Cocok untuk Homelab dan Production.** Mulai dari menjalankan beberapa VM di rumah sampai mengelola cluster server di data center, Proxmox scalable sesuai kebutuhan. Banyak perusahaan kecil-menengah di Indonesia yang beralih dari VMware ke Proxmox karena biaya.
**KVM + LXC dalam Satu Platform.** KVM memungkinkan kamu menjalankan Windows, Linux, atau OS lain sebagai full virtual machine. LXC memungkinkan menjalankan multiple Linux instances dengan overhead yang jauh lebih ringan. Keduanya dikelola dari satu interface.
## Spesifikasi Minimum
| Komponen | Minimum | Recommended |
|----------|---------|-------------|
| CPU | 64-bit x86_64, 2 core | 4+ core dengan VT-x/VT-d |
| RAM | 2 GB | 8+ GB |
| Storage | 32 GB | 256 GB+ SSD |
| Network | 1 NIC | 2+ NIC (management + VM traffic) |
**Penting:** Aktifkan VT-x (Intel) atau AMD-V (AMD) di BIOS sebelum install. Tanpa hardware virtualization, kamu hanya bisa menjalankan LXC containers, bukan KVM VMs.
## Install Proxmox VE
### 1. Download ISO
Download Proxmox VE ISO dari proxmox.com/downloads. File ISO sekitar 1.2 GB. Burn ke USB menggunakan Ventoy atau Rufus.
### 2. Boot dan Install
Boot dari USB. Ikuti installer:
- Pilih target disk
- Set country, timezone, keyboard
- Set admin password dan email
- Set management network interface dan IP address
### 3. Akses Web Interface
Setelah install, akses `https://:8006` dari browser. Login dengan root dan password yang sudah diset.
### 4. Update Repository
Proxmox tanpa license Enterprise akan muncul warning. Disable repository Enterprise dan aktifkan No-Subscription:
```bash
# Disable enterprise repo
sed -i 's/^deb/# deb/' /etc/apt/sources.list.d/pve-enterprise.list
# Add no-subscription repo
echo "deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
# Update
apt update && apt full-upgrade -y
```
## Membuat Virtual Machine
### 1. Upload ISO
Di web interface: Local Storage → ISO Images → Upload. Upload ISO Linux (Ubuntu, Debian, dll).
### 2. Create VM
Klik "Create VM" di pojok kanan atas:
- **General:** Name, OS type, ISO image
- **System:** BIOS type (OVMF untuk UEFI), SCSI controller
- **Disk:** Storage, size, cache type (writeback untuk performa)
- **CPU:** Cores, sockets, type (host untuk performa maksimal)
- **Memory:** RAM allocation
- **Network:** Bridge, model (VirtIO untuk performa terbaik)
### 3. Best Practices untuk VM
- Gunakan **VirtIO** untuk network dan disk adapter — lebih cepat dari emulated device
- Set CPU type ke **host** untuk menyalin instruction set host ke VM
- Gunakan **writeback** atau **writethrough** cache untuk disk
- Install **qemu-guest-agent** di VM untuk komunikasi lebih baik dengan host
## Membuat LXC Container
LXC containers jauh lebih ringan dari KVM VMs — startup dalam detik, overhead minimal.
### 1. Download Template
Datacenter → Storage → local → CT Templates → Download. Pilih template Ubuntu, Debian, atau lainnya.
### 2. Create Container
Klik "Create CT":
- **General:** Hostname, password
- **Template:** Pilih template yang sudah didownload
- **Disk:** Root filesystem size
- **CPU:** Cores allocation
- **Memory:** RAM dan swap
- **Network:** Bridge, IP address (static recommended)
### 3. LXC Best Practices
- Untuk container yang butuh banyak file I/O, gunakan **rootfs on ZFS** atau **Btrfs**
- Aktifkan `nesting=1` untuk container yang menjalankan Docker
- Set `unprivileged=0` hanya jika benar-benar dibutuhkan (security risk)
## Backup dan Restore
### Backup dengan Proxmox Built-in
Datacenter → Backup → Add. Set schedule harian atau mingguan. Proxmox backup mendukung:
- **VZDump:** Backup VM/CT ke storage lokal atau remote
- **Proxmox Backup Server (PBS):** Solusi backup terpisah dengan deduplication dan encryption
### Backup Script Manual
```bash
#!/bin/bash
# Backup semua VM ke NAS
for vmid in $(qm list | awk 'NR>1 {print $1}'); do
qm dump $vmid /backup/vm-$vmid-$(date +%Y%m%d).vma.zst
done
```
### Restore
```bash
qmrestore /backup/vm-100-20260628.vma.zst 100
```
## Networking Setup
### Bridge Network
Default: Proxmox menggunakan `vmbr0` sebagai bridge. VM/CT terhubung ke jaringan fisik melalui bridge ini.
### VLAN Configuration
Untuk isolasi network antar VM:
```
auto vmbr0.100
iface vmbr0.100 inet static
address 10.0.100.1/24
vlan-raw-device vmbr0
```
### Firewall
Proxmox punya built-in firewall di datacenter, host, dan VM/CT level. Aktifkan untuk proteksi tambahan.
## Tips Advanced
**Live Migration:** Pindahkan VM antar node Proxmox cluster tanpa downtime. Setup cluster: Datacenter → Cluster → Join Information.
**High Availability (HA):** Dengan minimal 3 nodes, Proxmox bisa restart VM otomatis di node lain jika satu node mati.
**ZFS Storage Pool:** Gunakan ZFS untuk storage pool dengan built-in snapshot, compression, dan checksumming. Ideal untuk production.
**Resource Overcommit:** Proxmox memungkinkan overcommit CPU dan RAM, tapi di production harus hati-hati. Gunakan `balloon` untuk dynamic memory allocation.
Proxmox VE membuktikan bahwa enterprise-grade virtualisasi tidak harus mahal. Dengan komunitas yang aktif dan fitur yang lengkap, ini adalah pilihan terbaik untuk self-hosted virtualisasi di tahun 2026.