Mata Pelajaran Pilihan
Proxmox VE Setup
Panduan instalasi dan konfigurasi Proxmox VE sebagai platform virtualisasi untuk home lab dan production server.
Proxmox VE Setup
Proxmox VE (Virtual Environment) adalah platform virtualisasi open-source berbasis Debian yang mendukung KVM (Virtual Machine) dan LXC (Container) dalam satu interface terpusat.
Mengapa Proxmox?
- Open Source & Gratis — tidak perlu lisensi berbayar
- Web UI yang powerful — manage semua VM/CT dari browser
- Support KVM + LXC — fleksibel untuk berbagai workload
- Built-in backup — snapshot dan backup terjadwal
- Cluster support — bisa gabungkan beberapa node
Prerequisites
- Hardware dengan support virtualisasi (Intel VT-x / AMD-V)
- RAM minimal 4GB (rekomendasi 16GB+)
- Storage minimal 32GB
- USB drive 8GB untuk instalasi
- ISO Proxmox VE terbaru dari proxmox.com
Step 1 — Instalasi Proxmox VE
1.1 Buat Bootable USB
# Linux
dd if=proxmox-ve_X.X-X.iso of=/dev/sdX bs=4M status=progress
# Atau gunakan Ventoy / Rufus (Windows)
1.2 Boot dari USB
- Set boot priority ke USB di BIOS/UEFI
- Pilih Install Proxmox VE (Graphical)
- Ikuti wizard instalasi:
- Pilih target disk
- Set timezone: Asia/Jakarta
- Set password root dan email admin
- Konfigurasi network (IP, gateway, DNS)
1.3 Akses Web UI
Setelah reboot, akses Proxmox via browser:
https://IP-PROXMOX:8006
Login dengan:
- Username:
root - Password: yang diset saat instalasi
- Realm:
Linux PAM standard authentication
Step 2 — Konfigurasi Awal
2.1 Disable Enterprise Repository (jika tidak berlangganan)
# SSH ke Proxmox atau buka Shell di web UI
# Disable enterprise repo
echo "# deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise" \
> /etc/apt/sources.list.d/pve-enterprise.list
# Tambahkan 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 upgrade -y
2.2 Setup Storage
# Lihat storage yang tersedia
pvesm status
# Tambah storage direktori
pvesm add dir local-data --path /mnt/data --content images,backup,iso
2.3 Upload ISO
- Buka Datacenter → local → ISO Images
- Klik Upload atau Download from URL
- Masukkan URL ISO (Ubuntu Server, Debian, dll)
Step 3 — Buat Virtual Machine
3.1 Via Web UI
- Klik Create VM di kanan atas
- Isi form:
- Name: nama VM (contoh:
ubuntu-server-01) - ISO Image: pilih ISO yang sudah diupload
- OS Type: Linux
- Disk: minimal 20GB
- CPU: minimal 2 core
- RAM: minimal 2048 MB
- Name: nama VM (contoh:
- Klik Finish → Start
3.2 Via CLI
# Buat VM baru
qm create 100 \
--name ubuntu-server-01 \
--memory 2048 \
--cores 2 \
--net0 virtio,bridge=vmbr0 \
--cdrom local:iso/ubuntu-22.04-server.iso \
--scsi0 local-lvm:20
# Start VM
qm start 100
Step 4 — Buat LXC Container
Container jauh lebih ringan dibanding VM untuk service seperti web server, database, dll.
# Download template
pveam update
pveam download local debian-12-standard_12.X-X_amd64.tar.zst
# Buat container
pct create 200 local:vztmpl/debian-12-standard_12.X-X_amd64.tar.zst \
--hostname web-server \
--memory 512 \
--rootfs local-lvm:8 \
--net0 name=eth0,bridge=vmbr0,ip=dhcp \
--password
# Start container
pct start 200
Step 5 — Setup Backup Otomatis
Via Web UI
- Datacenter → Backup → Add
- Konfigurasi:
- Storage: pilih storage backup
- Schedule: misalnya
0 2 * * *(jam 2 pagi tiap hari) - Mode: Snapshot atau Stop
- Retention: keep last 7 backup
Via CLI
# Edit crontab Proxmox
nano /etc/cron.d/vzdump
# Contoh backup semua VM jam 2 pagi
0 2 * * * root vzdump --all --compress zstd --storage local --maxfiles 7
Remote Access via ZeroTier
Akses Proxmox dari mana saja tanpa expose port ke internet menggunakan ZeroTier + MikroTik dst-nat:
ZeroTier IP MikroTik:8006 → Proxmox 192.168.1.10:8006
Lihat panduan lengkapnya di ZeroTier + MikroTik dst-nat.
Troubleshooting
Tidak Bisa Akses Web UI
# Cek status service
systemctl status pveproxy
# Restart jika perlu
systemctl restart pveproxy
VM Tidak Bisa Start
# Cek log VM
qm showcmd 100
journalctl -u qemu-server@100
Referensi
Sudah Selesai Mempelajari Modul Ini?
Tandai modul ini untuk mencatat progress belajar Anda.