dapurhosting.com Blog for Tech

January 26, 2025

Install Virtualizor KVM

Filed under: Uncategorized — dh @ 6:50 am

Install OS Alamalinux dengan partisi

/ 350GB
swap 20GB
/boot?? 1MB

Update dan install tool tambahan

yum install wget nano lvm2 -y;
yum update -y;

buat partisi baru

fdisk /dev/sda

buat volume group

vgcreate vg01 /dev/sda4

Reboot

Install Virtualizor

wget -N http://files.virtualizor.com/install.sh
chmod 0755 install.sh
./install.sh email=your@email.com kernel=kvm

Catat API KEY dan API Password

Reboot

Backup konfigurasi koneksi utama dengan perintah copy

cd /etc/NetworkManager/system-connections/

Membuat KVM Bridge

ref: https://www.virtualizor.com/docs/admin/kvm-bridge/#making-the-bridge-permanent

nmcli connection add type bridge con-name viifbr0 ifname viifbr0
nmcli connection modify viifbr0 ipv4.addresses 'IP/SUBNET' ipv4.gateway 'IPGATEWAY' ipv4.dns '8.8.8.8' ipv4.method manual
nmcli connection modify viifbr0 ipv6.method disabled
nmcli connection modify NAMA_ETHERNET master viifbr0
nmcli connection modify viifbr0 connection.autoconnect-slaves 1
nmcli connection up viifbr0
nmcli connection up NAMA_ETHERNET

Reboot

Tambahkan server ke kontrol panel Virtualizor utama.

Server > Add Server

Menambahkan Storage

Storage > Add Storage

Name: sesuai hostname server
Storage Type: LVM
Volume Group path: /dev/vg01 (sesuai nama volume group yang dibuat sebelumnya)
File Format: RAW

Periksa koneksi server

Server > List Server > Manage Server

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress