PROXMOX PVE 设置国内源

目前Proxmox中文社区源已正式提供镜像服务,镜像更新频率为每10小时,镜像站机房存放在法国巴黎online机房使用阿里云、华为云融合提供国内CDN加速服务。 地址 http://download.proxmox.wiki

  1. # 删除企业源
  2. rm -rf /etc/apt/sources.list.d/pve-enterprise.list
  3. #下载秘钥
  4. wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg
  5. # 添加社区源
  6. echo “deb http://download.proxmox.wiki/debian/pve stretch pve-no-subscription” >/etc/apt/sources.list.d/pve-install-repo.list

建议同时使用国内debian源


deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib
deb http://mirrors.aliyun.com/debian-security buster/updates main
deb-src http://mirrors.aliyun.com/debian-security buster/updates main
deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib

最后执行
apt update

pt update&&apt dist-upgrade #如需升级pve,则执行该命令

(0)
PipitaPipita
上一篇 2020-12-01
下一篇 2020-12-01

相关文章

  • 描述时间过得快的好句子

    1.后来,南山的风吹散了谷堆,北海的水淹没了墓碑。 这句话的意思是“时间过得很快”,但富有诗意,有那种“时光荏苒,岁月沧桑”的意境。比如,写“回忆”类记叙文时,表示时间很快过去,但依然铭记亲人或朋友时,可以这么去结尾:“后来,南山的风吹散了谷堆,北海的水淹没了墓碑,多少事沧桑巨变,无数人来了又回,可与你有关的点点滴滴,一直在我心上铭刻,不曾改变,也永不褪色。…

    无关专业 2021-12-20
  • 神仙文案

    1、“我在山谷湖泊间拾荒,捡拾散落的星辰和光。” 2、我爱了整个宇宙,只为了跟你碰头。 3、落幕下的花店,玫瑰将荒野的故事告诉风烟。 4、“一枝真心准备的花胜过千朵玫瑰。” 5、“我搬来整个城市的玫瑰,赠你一个错过的春天。” 6、等风起,等花开,等我们再次相遇。 7、窗前的白鸽飞过,你眼中落下星光。 8、“人间永远有野火焚不尽的诗书和法钵罩不住的柔情。” 9…

    无关专业 2021-10-01
  • PVE导入img为磁盘

    ./img2kvm <img文件> <vmid如101>  <虚拟磁盘名称如vm-101-disk-1> 另一种方法: qemu-img convert -f raw -O qcow2 DS3617xs_DSM6.1_Broadwell.img vm-103-disk-2.qcow2…

    无关专业 2020-07-19
  • #脚本#SSH端口怎么防止被暴力破解攻击?使用一键脚本自动拉黑

    SSH端口两种防御脚本 方法1: 超过10次登陆失败就封掉IP,创建shell脚本:secure_ssh.sh 123456789101112 #! /bin/bashcat /var/log/secure|awk ‘/Failed/{print $(NF-3)}’|sort|uniq -c|awk&nbsp…

    无关专业 2021-09-20
  • 让PVE直接跑docker

    最近貌似流行软路由,选了一圈Proxmox VE下玩多系统,结果还想玩玩docker,居然pve原生还不支持,放狗搜了下找到自己开启方法。 1.添加软件源 nano /etc/apt/sources.list deb http://download.proxmox.com/debian stretch pve-no-subscription 复制代码2.注释…

    无关专业 2020-03-05
  • #脚本#甲骨文ARM DD重装Debian10,并升级5.10内核

    新建实例时选的 ubuntu 20.4,非 mini 版 1. 1 curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh 2. 1 chmod a+rx debi.sh 3. 1 sudo ./debi.sh&nbs…

    无关专业 2021-09-20