• 首页
  • 搜索
  • 夜间模式
    ©2012-2025  Feng's Blog Theme by OneBlog
    搜索
    标签
    # 随笔 # 维修 # Wordpress # 阿里云 # 服务器 # typecho # Ghost # iphone # 网站 # word
  • 首页>
  • IT网络>
  • 正文
  • Proxmox VE 6.1升级6.3设置国内源

    2021年03月24日 90 阅读 0 评论 1592 字

    Proxmox VE 以下简称 PVE,相信折腾 All in one 或黑群晖、软路由,或多或少会有接触,作为底层平台各项功能还是不错,不过毕竟是老外的东西,在国内使用还是还会碰到一些问题,比如版本升级,下面就以我自己个人升级作一个简单教程(方便自己哪天忘了好查看),以下教程为网络整理所得,但经本人测试升级成功。

    1. 删除企业源
    rm -rf /etc/apt/sources.list.d/pve-enterprise.list
    
    1. 下载秘钥
    wget http://mirrors.ustc.edu.cn/proxmox/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
    
    1. 添加国内源
    echo "deb http://mirrors.ustc.edu.cn/proxmox/debian/pve buster pve-no-subscription" >/etc/apt/sources.list.d/pve-install-repo.list
    

    这里要注意下,很多教程会设置成错误 deb http://mirrors.ustc.edu.cn/proxmox/debian/pve strech pve-no-subscription 造成无法升级为 pve6.2

    strech--debian 9--pve 5.x
    buster--debian 10--pve 6.x

    1. 建议同时使用国内 debian 源,修改 /etc/apt/sources.list 文件,添加如下内容:
    echo "deb http://mirrors.ustc.edu.cn/debian buster main contrib
    deb http://mirrors.ustc.edu.cn/debian buster-updates main contrib
    deb http://mirrors.ustc.edu.cn/debian-security buster/updates main contrib" > /etc/apt/sources.list
    

    pve_ceph 设置国内源
    原配置文件:/etc/apt/sources.list.d/ceph.list

    echo "deb http://mirrors.ustc.edu.cn/proxmox/debian/ceph-nautilus buster main" > /etc/apt/sources.list.d/ceph.list
    
    1. 最后执行
    
    apt update
    apt update && apt dist-upgrade
    本文著作权归作者 [ Feng ] 享有,未经作者书面授权,禁止转载,封面图片来源于 [ 互联网 ] ,本文仅供个人学习、研究和欣赏使用。如有异议,请联系博主及时处理。
    PVE
    — END —
    首页
    Copyright©2012-2025  All Rights Reserved.  Load:0.014 s
    Theme by OneBlog V3.6.3
    夜间模式

    开源不易,请尊重作者版权,保留基本的版权信息。