热文Linux

Oracle甲骨文重装系统出现Error, Not found interfaces config.解决办法

甲骨文系统被搞坏了,萌咖大佬脚本一键重装真方便

一键重装

萌咖一键网络重装为 debian9+/ubuntu16.04+

密码:MoeClub.org

#先切换到root权限
sudo -i
运行:
#Debian/Ubuntu:
apt-get update
#RedHat/CentOS:
yum update
#确保安装了所需软件:
#Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file
#RedHat/CentOS:
yum install -y xz openssl gawk file
#下载及说明:
wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && chmod a+x InstallNET.sh
Usage:
        bash InstallNET.sh      -d/--debian [dist-name]
                                -u/--ubuntu [dist-name]
                                -c/--centos [dist-version]
                                -v/--ver [32/i386|64/amd64]
                                --ip-addr/--ip-gate/--ip-mask
                                -apt/-yum/--mirror
                                -dd/--image
                                -a/-m
# dist-name: 发行版本代号
# dist-version: 发行版本号
# -apt/-yum/--mirror : 使用定义镜像
# -a/-m : 询问是否能进入VNC自行操作. -a 为不提示(一般用于全自动安装), -m 为提示.
#安装debian9 (-firmware 额外驱动支持)
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -d 9 -v 64 -a -firmware
#安装ubuntu16.04 (-firmware 额外驱动支持)
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 16.04 -v 64 -a -firmware
#安装ubuntu18.10 (-firmware 额外驱动支持)
bash <(wget --no-check-certificate -qO- 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh') -u 18.10 -v 64 -a -firmware
#备用
https://www.ucblog.net/shell/InstallNET.sh

安装Debian9Ubuntu16出现以下问题:

Auto Mode insatll [Debian] [stretch] [amd64].

[Debian] [stretch] [amd64] Downloading...
Error, Not found interfaces config.

解决

ssh运行下面 两个命令就可以dd了

命令1

mkdir /etc/network/interfaces.d

命令2

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

重装后SSH登录,用户名root,密码:MoeClub.org

别忘记修改root密码

root@baidu:~# passwd
Enter new UNIX password:

连续输入两次新密码就可以

本文来自投稿,不代表本站立场,如若转载,请注明出处:https://www.tok9.com/archives/543/
免费领取天翼云盘3个月黄金会员
« 上一篇 02-26
WebMoney注册账号,支付,认证,升级Classic+手机管理WMZ教程
下一篇 » 02-28

发表评论

仅有一条评论

  1. [...]1.参考文章https://www.tok9.com/archives/543/[...]

This page loaded in 0.006596 seconds