IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    #转载# 甲骨文 重装系统 Debian9 Debian10

    admin发表于 2021-05-13 06:51:01
    love 0

    甲骨文 重装系统 Debian9 Debian10,转载一篇文章备用。初始系统选择Ubuntu 16或者Ubuntu 18

    安装依赖

    #Debian/Ubuntu:
    apt-get install -y xz-utils openssl gawk file
    
    #RedHat/CentOS:
    yum install -y xz openssl gawk file
    
    #默认账号
    
    root ,密码为: MoeClub.org

    一键安装Debian

    甲骨文网络是可以自动获取到IP的 所以脚本不用设置IP、网关、和子网掩码 省了一步!
    但韩国区有个隐形的雷!如果不设置韩国区友好的源,DD时间会超长!!
    代码中-p 你的密码 改成你自己用的root密码 等DD完成即可使用自己设置的密码ssh连接
    非韩国区UBUNTU16可以直接使用下面代码正常速度DD

    bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -a -firmware -p 你的密码

    如要DD韩国区请使用下面代码 即可正常速度DD

    bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -a -firmware -p 你的密码 --mirror 'https://mirrors.huaweicloud.com/debian/'

    UBUNTU18的话 要先执行下面的代码 再使用上面的代码dd

    echo "# This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
    
    source /etc/network/interfaces.d/*
    
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    allow-hotplug ens3
    iface ens3 inet dhcp
    
    " > /etc/network/interfaces

     

    原文:https://33xz.cm/index.php/archives/4/



沪ICP备19023445号-2号
友情链接