banner
NEWS LETTER

PorxmoxVE安装文档

Scroll down

本文作者:丁辉

PorxmoxVE安装文档

官网 ISO

准备工作

  1. 登录官网下载镜像

  2. 制作安装U盘

开始安装

  1. 上下键选择桌面版(Graphical)回车

  2. 点击我同意

  3. 选择系统安装磁盘位置,点击我同意

  4. 选择地区 China,时区 Asia/Shanghai,键盘布局 U.S.English,点击我同意

  5. 配置平台登陆密码,填写邮箱,点击我同意

  6. 选择网卡,配置平台访问IP和网关地址,点击我同意

  7. 点击安装

  8. 等待安装完成后重启即可(注意!!!安装完重启时拔掉U盘)

  9. 出现这个画面则代表安装成功

  10. 选择语言,填写用户名密码后登录

  11. 忽略提示点击OK

  12. 配置国内源

    1. 备份源文件

      1
      2
      cp /etc/apt/sources.list /etc/apt/sources.list.bak
      cp -r /etc/apt/sources.list.d /etc/apt/sources.list.d.bak
    2. 更换 Proxmox VE 的 GPG 公钥

      1
      2
      3
      mv /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg.bak

      wget https://mirrors.ustc.edu.cn/proxmox/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
    3. 更换 Proxmox 软件源

      1
      2
      3
      echo "#deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise" > /etc/apt/sources.list.d/pve-enterprise.list

      echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/pve bullseye pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
    4. 更换 Debian 源

      1
      2
      3
      sed -i "s#ftp.debian.org/debian#mirrors.aliyun.com/debian#g" /etc/apt/sources.list

      sed -i "s#security.debian.org#mirrors.aliyun.com/debian-security#g" /etc/apt/sources.list
    5. 更换 CEPH 源

      1
      2
      3
      echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/ceph-quincy bookworm no-subscription" > /etc/apt/sources.list.d/ceph.list

      sed -i.bak "s#http://download.proxmox.com/debian#https://mirrors.ustc.edu.cn/proxmox/debian#g" /usr/share/perl5/PVE/CLI/pveceph.pm
    6. 更换 LXC 源(根据自身情况判断是否更换!!!)

      1
      2
      3
      4
      5
      sed -i.bak "s#http://download.proxmox.com/images#https://mirrors.ustc.edu.cn/proxmox/images#g" /usr/share/perl5/PVE/APLInfo.pm

      wget -O /var/lib/pve-manager/apl-info/mirrors.ustc.edu.cn https://mirrors.ustc.edu.cn/proxmox/images/aplinfo-pve-7.dat

      systemctl restart pvedaemon
    7. 更新

      1
      apt update && apt upgrade -y
  13. 删除订阅弹窗(非必要步骤!!!)

    1
    sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: PorxmoxVE安装文档 gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service

    执行完成后,浏览器Ctrl+F5强制刷新缓存。

I'm so cute. Please give me money.

其他文章
cover
源码升级Gcc
  • 70/01/01
  • 00:00
  • Linux-Docs
cover
制作U盘系统启动盘
  • 70/01/01
  • 00:00
  • Linux-系统安装文档
目录导航 置顶
  1. 1. PorxmoxVE安装文档
    1. 1.1. 准备工作
    2. 1.2. 开始安装
请输入关键词进行搜索