Pendahuluan
Pada tutorial ini kita akan menggunakan Mode Advanced, sehingga semua spesifikasi VM bisa diatur manual, lalu dilanjutkan konfigurasi Cloud-Init agar VM siap digunakan.
📌 Metode ini cocok untuk:
- Server pribadi
- Lab virtualisasi
- VPS internal
- Website / Panel Hosting
- Belajar Linux Server
Kelebihan Metode Ini
✅ Lebih cepat dari install manual ISO ✅ CPU / RAM / Disk bisa custom ✅ IP bisa static atau DHCP ✅ Username & password bisa diatur ✅ Mendukung Cloud-Init modern ✅ Cocok untuk deploy banyak VM
Persiapan
Sebelum mulai, siapkan:
- Proxmox VE aktif
- Login root ke node Proxmox
- Internet aktif
- Storage kosong minimal 10GB
- RAM kosong minimal 2GB
1. Login ke Shell Proxmox
Masuk ke web panel:
https://IP-PROXMOX:8006
Contoh:
https://192.168.1.10:8006
Buka:
Pve → Shell
Atau SSH:
ssh root@192.168.1.10
2. Jalankan Script Ubuntu 24.04
Paste perintah berikut:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/ubuntu2404-vm.sh)"
Tekan Enter.
3. Pilih Mode Advanced
Saat menu muncul pilih:
Advanced
📌 Jangan pilih default agar bisa custom konfigurasi.
4. Isi Konfigurasi VM
VM ID
105
VM Name
ubuntu-server
CPU Core
2
RAM
2048
Disk Size
20
Storage
local-lvm
Bridge Network
vmbr0
5. Tunggu VM Dibuat
Script akan otomatis:
- Download Ubuntu 24.04 image
- Membuat VM baru
- Membuat disk virtual
- Menambahkan Cloud-Init drive
- Menyelesaikan setup awal
📌 Setelah selesai, VM akan muncul di dashboard.
6. Konfigurasi Cloud-Init (WAJIB)
Masuk ke:
Datacenter → Node → VM Ubuntu → Cloud-Init
Cloud-Init digunakan untuk:
- Username
- Password
- Hostname
- SSH Key
- IP Address
- DNS
7. Isi Username dan Password
Contoh:
Username : ubuntu
Password : Ubuntu123!
📌 Gunakan password kuat.
8. Konfigurasi Network Cloud-Init
Opsi Static IP
Contoh:
IP Address : 192.168.1.50/24
Gateway : 192.168.1.1
9. Isi DNS
Contoh:
DNS Domain google.com
DNS Server 8.8.8.8
📌 Lebih aman untuk server production.
10. Regenerate Cloud-Init Image
Klik tombol:
Regenerate Image
📌 Ini wajib setelah mengubah Cloud-Init.
11. Start VM
Klik:
Start
Buka:
Console
12. Login ke Ubuntu
Masuk dengan akun tadi:
Username: ubuntu
Password: Ubuntu123!
13. Update Ubuntu
Setelah berhasil login:
sudo apt update && sudo apt upgrade -y
14. Cek IP Address
Gunakan:
ip a
atau:
hostname -I
15. Login via SSH
Jika jaringan aktif:
ssh ubuntu@192.168.1.50