Lần đầu Install Configuration for Proxmox
Chỉnh sữa file: /etc/apt/sources.list
nano /etc/apt/sources.list
deb http://ftp.debian.org/debian bookworm main contrib
deb http://ftp.debian.org/debian bookworm-updates main contrib
# security updates
deb http://security.debian.org bookworm-security main contrib
# not for production use
deb http://download.proxmox.com/debian buster pve-no-subscriptionOA
Chỉnh sửa file dành cho proxmox >8.0: /etc/apt/sources.list.d/pve-no-enterprise.list
nano /etc/apt/sources.list.d/pve-no-enterprise.list
# not for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
Kế tiếp comment out cái dòng enterprise update list ở file: /etc/apt/sources.list.d/pve-enterprise.list
nano /etc/apt/sources.list.d/pve-enterprise.list
#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise
Chạy các update sau:
apt-get update
apt dist-upgrade
nhấn y để chấp nhận update
sau đó reboot system.
reboot
IOMMU (PCI Passthrough)
sửa file grub dành cho intel hay amd iommu:
nano /etc/default/grub
nếu đang xài amd thì sửa intel_iommu thành amd_iommu
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
save file lại và update grub
Sửa file /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Parameters can be specified after the module name.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
update-initramfs -u -k all
reboot
update DNS nameserver nếu đang xài pi hole.
Kế tiếp: tạo cloud image
No Comments