zoukankan      html  css  js  c++  java
  • 解决pve6.2/pve6.3 安装ifupdown2,失败问题

    1. 替换国内debian源 --可选
    echo "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" > /etc/apt/sources.list
    
    1. 删除企业订阅
      rm /etc/apt/sources.list.d/pve-enterprise.list

    2. 配置非订阅免费源
      echo "deb https://mirrors.ustc.edu.cn/proxmox/debian/pve/ buster pve-no-subscription " >/etc/apt/sources.list.d/pve-install-repo.list

    3. 安装必要的包 ifupdown2,openvswitch-switch

    apt update
    apt install ifupdown2 openvswitch-switch -y
    
  • 相关阅读:
    2019.9.21 Tomcat基于端口的虚拟主机
    shell脚本作业
    DNS原理及其解析过程
    用户管理系统脚本
    pxe批量装机
    磁盘分区挂载脚本
    安装apache脚本
    linux远程拷贝命令及not a regular file 解决方案
    卸载虚拟网卡的方法
    watch的用法
  • 原文地址:https://www.cnblogs.com/lovesKey/p/14400874.html
Copyright © 2011-2022 走看看