背景
这是探索HTPC一体化背景的一个环节,目前已有更好解决方式。pve本来有独立安装的iso,但也支持现有debian安装。pve做htpc有几个方式。使用这个模式,原因是pve直接安装lxqt桌面出现无法联网情况,而且也担心破坏pve。
安装流程
系统更新
apt install apt-transport-https ca-certificates wget -y mv /etc/apt/sources.list /etc/apt/sources.listbk nano /etc/apt/sources.list #填入以下内容 deb https://mirrors.sjtug.sjtu.edu.cn/debian/ bullseye main contrib non-free # deb-src https://mirrors.sjtug.sjtu.edu.cn/debian/ bullseye main contrib non-free deb https://mirrors.sjtug.sjtu.edu.cn/debian/ bullseye-updates main contrib non-free # deb-src https://mirrors.sjtug.sjtu.edu.cn/debian/ bullseye-updates main contrib non-free deb https://mirrors.sjtug.sjtu.edu.cn/debian/ bullseye-backports main contrib non-free # deb-src https://mirrors.sjtug.sjtu.edu.cn/debian/ bullseye-backports main contrib non-free deb https://mirrors.sjtug.sjtu.edu.cn/debian-security bullseye-security main contrib non-free # deb-src https://mirrors.sjtug.sjtu.edu.cn/debian-security bullseye-security main contrib non-free
固定网络地址修改,设定一个固定ip地址
nano /etc/hosts 192.168.1.143
开始安装pve
echo "deb [arch=amd64] http://download.proxmox.com/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg apt update && apt full-upgrade -y apt install pve-kernel-5.15 -y systemctl reboot mv /etc/network/interfaces /etc/network/interfacesbk nano /etc/network/interfaces auto enp1s0 iface enp1s0 inet static address 192.168.1.143/24 gateway 192.168.1.1 systemctl restart networking apt install proxmox-ve postfix open-iscsi -y apt remove linux-image-amd64 'linux-image-5.10*' -y sudo -i update-grub apt remove os-prober -y