Loading... 甲骨文系统被搞坏了,萌咖大佬脚本一键重装真方便 ## 一键重装 **萌咖一键网络重装为 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 ``` ## 安装`Debian9`和`Ubuntu16`出现以下问题: ``` 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: ``` 相关文章 Ocacle Cloud 系列:甲骨文云基本知识 DD Windows 一键脚本(GCP谷歌云Oracle甲骨文Azure微软云OVH云) 一键DD脚本 甲骨文永久免费vps注册和使用简单教程 最后修改:2022 年 04 月 02 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 0 如果觉得我的文章对你有用,请随意赞赏