image.png
前言
用Proxmox Ve的ios鏡像安裝一直出毛病,先安裝Debian在安裝proxmox ve問題就解決啦
步驟
**1. 先安裝debian 11系統(tǒng)
- 必須添加 /etc/hosts 條目
- 設(shè)置Debian 11國內(nèi)源
- 添加 Proxmox VE 存儲庫
- 添加 Proxmox VE 存儲庫密鑰
- 安裝 Proxmox VE 包
- 創(chuàng)建一個網(wǎng)橋**
安裝debian 11系統(tǒng)
https://blog.csdn.net/u010080562/article/details/120246284
所用的鏡像
debian-11.2.0-amd64-netinst.iso
添加 /etc/hosts 條目
vim /etc/hosts
參考
127.0.0.1 localhost
172.168.0.3 pve.qu1u1.cn //你的ip和域名
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
使用hostname命令測試您的設(shè)置是否正常
hostname --ip-address
172.168.0.3 # should return your IP address here
設(shè)置Debian 11國內(nèi)源
vim /etc/apt/sources.list //修改國內(nèi)源
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free
添加 Proxmox VE 存儲庫
echo "deb [arch=amd64] https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list
備用
cd /etc/apt/sources.list.d/ && wget -O 'pve-install-repo.list' 'https://pan.geekrabbit.top/?explorer/share/fileOut&shareID=7tywdr6g&path=%7BshareItemLink%3A7tywdr6g%7D%2Flinux%E8%BD%AF%E4%BB%B6%E5%8C%85%2Fpve7%E5%AD%98%E5%82%A8%E5%BA%93%2Fpve-install-repo.list'
添加 Proxmox VE 存儲庫密鑰
wget https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg //文件下載到/etc/apt/trusted.gpg.d/
備用
cd /etc/apt/trusted.gpg.d/ && wget -O 'proxmox-release-bullseye.gpg' 'https://pan.geekrabbit.top/?explorer/share/fileOut&shareID=7tywdr6g&path=%7BshareItemLink%3A7tywdr6g%7D%2Flinux%E8%BD%AF%E4%BB%B6%E5%8C%85%2Fpve7%E5%AD%98%E5%82%A8%E5%BA%93%2Fproxmox-release-bullseye.gpg'
sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg //校驗
7fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa //校驗碼
更新存儲庫和系統(tǒng)
apt update && apt full-upgrade
安裝 Proxmox VE 包
apt install proxmox-ve postfix open-iscsi
最后,重新啟動系統(tǒng)岩灭。
推薦:刪除 os-prober 包
apt remove os-prober
創(chuàng)建一個網(wǎng)橋
登錄后,創(chuàng)建一個名為vmbr0的Linux Bridge,并將您的第一個網(wǎng)絡(luò)接口添加到它岩饼。
image.png
創(chuàng)作不易沟饥,轉(zhuǎn)載請注明出處
原文鏈接: https://qu1u1.cn/archives/debian11bullseye%E4%B8%8A%E5%AE%89%E8%A3%85proxmoxve7