甲骨文dd用的傻瓜式一键dd脚本:
或者也可以直接用:https://www.cxthhhhh.com/network-reinstall-system-modify
但是都出现了错误:Error, Not found interfaces config
网上找到的解决方案,运行如下两条命令:
mkdir /etc/network/interfaces.d
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,密码:cxthhhhh.com
别忘记修改root密码:
root@baidu:~# passwd
Enter new UNIX password:
连续输入两次新密码就可以。
原文链接:https://www.tok9.com/archives/543/