分類彙整:proxmox

proxmox 轉端口

443—>8006 iptables -t nat -A PREROUTING -p tcp –dport 443 -j REDIRECT –to-ports 8006 #drop 8006 iptables -A INPUT -i ! lo -p tcp –dport 8006 -j DROP #save setting iptables-save > /etc/iptables.up.rules echo -e ‘#!/bin/sh\n/sbin/iptables-restore < /etc/iptables.up.rules' > /etc/network/if-pre-up.d/iptables … 繼續閱讀 →

發表於 proxmox | 發表迴響

proxmox 直通硬碟

qm set 你的VMID –sata代號 /dev/disk/by-id/你的硬碟ID ex: vm是100, /dev/disk/by-id/ata-st1000 指令輸入: qm set 100 –sata1 /dev/disk/by-id/ata-st1000 或另外一種方式: 直接修改 /etc/pve/qemu-server/100.conf virtio0:/dev/disk/by-id/ata-st1000, size=1000G 這方式不需要添加後面的 ",size=1000G" ,他會直接抓整顆硬碟來用 LXC: LXC mount point: nano /etc/pve/lxc/150.conf mp0: /host端目錄,mp=/LXC端掛載點

發表於 proxmox | 已標籤 | 發表迴響

pve tools

https://helper-scripts.com/scripts?id=Proxmox%20VE%20Post%20Install&fbclid=IwZXh0bgNhZW0CMTAAAR08FqiV6Nv-NqQolK36_oaGBwqHzAyvHmG3EIIdV9z05rPdEHwpn23mJhs_aem_AWW01v7A9SHvCgO8jhev0-6HWWgZMPzngDopQHRPEfZek9W87zNQXoAxLFZ_KK0TSJiBih1Dexl29oqO-PJYNz_s

發表於 proxmox | 已標籤 | 發表迴響

pve 6 sources.list

deb http://ftp.tw.debian.org/debian buster main contrib deb http://ftp.tw.debian.org/debian buster-updates main contrib # PVE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve buster pve-no-subscription # security updates deb http://security.debian.org buster/updates main contrib

發表於 proxmox | 已標籤 | 發表迴響

pve 8 sources.list

deb http://ftp.debian.org/debian bookworm main contrib deb http://ftp.debian.org/debian bookworm-updates main contrib # Proxmox VE pve-no-subscription repository provided by proxmox.com, # NOT recommended for production use deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription # security updates deb http://security.debian.org/debian-security bookworm-security main contrib

發表於 proxmox | 已標籤 | 發表迴響

pve 7 sources.list

deb http://ftp.tw.debian.org/debian bullseye main contrib deb http://ftp.tw.debian.org/debian bullseye-updates main contrib deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription # security updates deb http://security.debian.org bullseye-security main contrib

發表於 proxmox | 已標籤 | 發表迴響

proxmox 安裝無法進去圖形介面

請在 Proxmox VE 安裝的開機啟動選項,按下 e 之後追加幾個參數 rd.driver.blacklist=nouveau nouveau.modeset=0 ,並按下 Ctrl + X 啟動之後,成功進入開機引導程序

發表於 proxmox | 已標籤 | 發表迴響

pve 虛擬機檔案格式轉換

附命令用法 qemu-img convert -f -O 这里 -f 可以忽略。qemu-img会自动识别 vmdk转qcow2 qemu-img convert -O qcow2 test.vmdk test.qcow2 #qcow2转vmdk qemu-img convert -O vmdk test.qcow2 test.vmdk vdi转qcow2 qemu-img convert -O qcow2 test.vdi test.qcow2 vhd&vhdx转qcow2 qemu-img convert -O qcow2 test.vhdx test.qcow2 RAW转qcow2 qemu-img convert -O … 繼續閱讀 →

發表於 proxmox | 發表迴響

proxmox vnc Client Access

https://www.youtube.com/watch?v=RW1pwM94rvQ&t=124s args:-vnc ip:port args: -vnc 0.0.0.0:77 vncport:5977

發表於 proxmox | 發表迴響

pve 7to8

apt update apt dist-upgrade pveversion sed -i ‘s/bullseye/bookworm/g’ /etc/apt/sources.list

發表於 proxmox | 發表迴響