aws亞馬遜伺服器Ubuntu18指令碼一鍵重灌系統為centos7
阿新 • • 發佈:2021-01-21
這兩天註冊了aws,送了一年的最低配伺服器嘛。但是可使用的系統就是有Ubuntu和Redhat。都試了試不太好用。今天就在網上看到了一鍵重灌的指令碼。就記錄分享一下。
先後執行下列兩條命令就可以:
apt-get install -y xz-utils openssl gawk coreutils file wget --no-check-certificate -qO InstallNET.sh 'https://moeclub.org/attachment/LinuxShell/InstallNET.sh' && bash InstallNET.sh -dd 'https://delivery.yuntu.com.tw/OperatingSystem/CentOS/218306713_CentOS_7.X_NetInstallation.vhd.gz'
執行這兩條命令需要獲取root許可權。
伺服器廠商一般註冊伺服器的時候 給你分配的不是root使用者
你需要執行以下 sudo su 來獲取一下root許可權
等十分鐘左右會裝好系統,root密碼是cxthhhhh.com