admin管理员组

文章数量:1531890

这两天注册了aws,送了一年的最低配服务器嘛。但是可使用的系统就是有Ubuntu和Redhat。都试了试不太好用。今天就在网上看到了一键重装的脚本。就记录分享一下。
先后执行下列两条命令就可以:

apt-get install -y xz-utils openssl gawk coreutils file


wget --no-check-certificate -qO InstallNET.sh 'https://moeclub/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://delivery.yuntu.tw/OperatingSystem/CentOS/218306713_CentOS_7.X_NetInstallation.vhd.gz'

执行这两条命令需要获取root权限。

服务器厂商一般注册服务器的时候 给你分配的不是root用户
你需要执行以下 sudo su 来获取一下root权限

等十分钟左右会装好系统,root密码是cxthhhhh

本文标签: 亚马逊一键脚本重装系统服务器