当前位置:   article > 正文

Debian上安装 Proxmox VE 7_未启用proxmox ve存储库

未启用proxmox ve存储库

image.png

前言

用Proxmox Ve的ios镜像安装一直出毛病,先安装Debian在安装proxmox ve问题就解决啦

步骤

1. 先安装debian 11系统
2. 必须添加 /etc/hosts 条目
3. 设置Debian 11国内源
4. 添加 Proxmox VE 存储库
5. 添加 Proxmox VE 存储库密钥
6. 安装 Proxmox VE 包
7. 创建一个网桥

安装debian 11系统

https://blog.csdn.net/u010080562/article/details/120246284

所用的镜像
debian-11.2.0-amd64-netinst.iso

添加 /etc/hosts 条目

vim /etc/hosts
  • 1

参考

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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

使用hostname命令测试您的设置是否正常

hostname --ip-address
172.168.0.3 # should return your IP address here
  • 1
  • 2

设置Debian 11国内源

vim /etc/apt/sources.list    //修改国内源
  • 1
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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

添加 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
  • 1

备用

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'
  • 1

添加 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/
  • 1

备用

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'
  • 1
sha512sum /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg   //校验

7fb03ec8a1675723d2853b84aa4fdb49a46a3bb72b9951361488bfd19b29aab0a789a4f8c7406e71a69aabbc727c936d3549731c4659ffa1a08f44db8fdcebfa  //校验码
  • 1
  • 2
  • 3

更新存储库和系统

apt update && apt full-upgrade
  • 1

安装 Proxmox VE 包

apt install proxmox-ve postfix open-iscsi
  • 1

最后,重新启动系统。

推荐:删除 os-prober 包

apt remove os-prober
  • 1

创建一个网桥

登录后,创建一个名为vmbr0的Linux Bridge,并将您的第一个网络接口添加到它。

image.png

创作不易,转载请注明出处
原文链接: https://qu1u1.cn/archives/debian11bullseye%E4%B8%8A%E5%AE%89%E8%A3%85proxmoxve7

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/193428
推荐阅读
相关标签
  

闽ICP备14008679号