首页 > 其他分享 >Proxmox VE换系统源和CT模板源

Proxmox VE换系统源和CT模板源

时间:2024-08-16 17:16:26浏览次数:4  
标签:VE mirrors list 换源 Proxmox proxmox pve debian CT

debian换源

# debian换源
sed -i.bak "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

PVE换源

# PVE换源
echo "#deb https://enterprise.proxmox.com/debian/pve bookworm pve-enterprise" > /etc/apt/sources.list.d/pve-enterprise.list
echo "deb https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian bookworm pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list

ceph换源

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

CT模板换源

# CT模板换源
sed -i.bak "s#http://download.proxmox.com/debian#https://mirrors.ustc.edu.cn/proxmox/debian#g" /usr/share/perl5/PVE/CLI/pveceph.pm

去除订阅弹窗

# 去除订阅弹窗
sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && 

重启pve服务

# 重启pve服务
systemctl restart pvedaemon
systemctl restart pveproxy.service

标签:VE,mirrors,list,换源,Proxmox,proxmox,pve,debian,CT
From: https://www.cnblogs.com/amsilence/p/18363272

相关文章

  • 【A GUIDE TO CRC ERROR DETECTION ALGORITHM】 (译文3-Todo)
    11."Reflected"Table-DrivenImplementations“反射”表驱动实现Despitethefactthattheabovecodeisprobablyoptimizedaboutasmuchasitcouldbe,thisdidnotstopsomeenterprisingindividualsfrommakingthingsevenmorecomplicated.Toundersta......
  • C# Tcp Server端实现,使用TcpListener
    usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading;usingSystem.Net.Sockets;usingSystem.Net;usingF.Studio.Common.Cfg;usingSystem.Collections.Concurrent;namespaceKomaxCSTcpServer{pub......
  • React 中执行的 DOM 操作
    新增/插入对于需要新增/插入的节点,React会对workInProgressfiber.flags执行按位或Placement的操作。表示该fiber节点需要执行插入的操作。执行插入的主要方法是commitPlacement。在该方法中会根据当前Fiber节点是否存在兄弟Fiber节点判断要调用哪种方法。如果......
  • InstructGPT: Training language models to follow instructions with human feedback
    文章目录1.InstructGPT目标2.数据集2.1SFT数据集2.2RM数据集2.3PPO数据集3.训练细节3.1SFT训练3.2RM训练3.3RLHF训练4.结论1.InstructGPT目标InstructGPT探讨了如何通过人类反馈来训练语言模型以更好地遵循用户的意图。通过对模型进行监督学习和强化......
  • 主流服务器推送技术概述与 Java SSE (Server-Sent Events) 详细讲解
    目录简介服务器推送技术的背景和重要性主流服务器推送技术概览WebSocketLongPollingServer-SentEvents(SSE)HTTP/2Push各技术比较功能性比较性能比较使用场景比较深入理解JavaServer-SentEvents(SSE)什么是Server-SentEvents工作原理Java实现方式J......
  • Python - Structural Design Patterns
    •TheadapterpatternTheadapterpatternisastructuraldesignpatternthathelpsusmaketwoincompatibleinterfaces compatible.Whatdoesthatreallymean?Ifwehaveanoldcomponentandwewanttouseitinanew system,oranewcomponentthatwew......
  • JS中【Object.defineProperties】知识点介绍
    在JavaScript中,Object.defineProperties()是一个非常强大的方法,用来一次性定义或修改一个对象的多个属性的属性描述符。下面是关于Object.defineProperties()的详细讲解。基本语法Object.defineProperties(obj,props)obj:要定义或修改属性的目标对象。props:一个对......
  • 文本识别之Tesseract安装
    1.概述OCR,即OpticalCharacterRecognition,光学字符识别,是指通过扫描字符,然后通过其形状将其翻译成电子文本的过程。对于图形验证码来说,它们都是一些不规则的字符,这些字符确实是由字符稍加扭曲变换得到的内容。tesseract下载地址:Indexof/tesseract进入下载页面,可以看到有......
  • 打包nginx镜像,添加flv_live模块
    因为工作需要而打包一个包含nginx_http_flv_live模块,记录下编译中遇到的问题,和解决方式编译nginx的最大的一个坑就是基础镜像使用的debian:latest,导致各种编译后能通过rtmp推流但是无法通过http拉取http-flv视频流版本alpine==3.8.5nginx==1.25.5https://nginx.org/down......
  • 滚动条属性overflow
    overflow:visible;-内容超出容器边界,无滚动条。overflow:hidden;-内容被截断,不显示超出部分,无滚动条。overflow:scroll;-内容超出容器,显示滚动条,无论是否需要滚动。overflow:auto;-内容超出容器时,自动出现滚动条。overflow-x和overflow-y;-分别用于控制水平方向和垂......