最新國外VPS云服務(wù)器一鍵重裝系統(tǒng)合集,一鍵DD安裝Linux和Windows

我們在購買VPS云服務(wù)器安裝自己的操作系統(tǒng)有兩大好處:一是可以安裝自己想的操作系統(tǒng),例如一些最新的CentOS 8、Ubuntu 20、Debian 10等Linux操作,有些主機(jī)商可能沒有提供安裝;另一個好處就是可以安裝“干凈”的操作系統(tǒng),用主機(jī)商的操作系統(tǒng)總會有一些“無關(guān)”的進(jìn)程。

例如不少人用的阿里云、騰訊云等云服務(wù)器都會自帶一些監(jiān)控以及安全進(jìn)程,很多人覺得這些進(jìn)程非常地“雞肋”,配置差的VPS主機(jī)不如將這些進(jìn)程去掉,“干干凈凈”的VPS才用得放心。最后,尤其是國外商家,礙于主機(jī)商的Windows授權(quán)費(fèi)太貴,很多人想要安裝自己的Windows系統(tǒng)。

基于以上需求,一鍵DD安裝Linux和Windows系統(tǒng)腳本就應(yīng)運(yùn)而生了,VPS主機(jī)一鍵重裝系統(tǒng)工具可以快速安裝Linux系統(tǒng),例如CentOS,Debian,Ubuntu等等,Windows系統(tǒng)2019、2016、2012R2、2008R2、7、2003等等,以及自定義其他系統(tǒng)。

當(dāng)然你也可以自己制作DD鏡像,然后用這些腳本來安裝自己的操作系統(tǒng)。經(jīng)過測試,本文分享的一鍵重裝系統(tǒng)工具可以用在阿里云、騰訊云等輕量服務(wù)器上,而且安裝速度非常地快。

一、一鍵重裝AutoReinstall.sh

網(wǎng)站:

  1. 項(xiàng)目:https://github.com/hiCasper/Shell
  2. 備用:https://github.com/freehao123/Shell/tree/master

本一鍵腳本在萌咖大佬的腳本基礎(chǔ)上開發(fā),實(shí)現(xiàn)了懶人式一鍵網(wǎng)絡(luò)重裝 Debian / Ubuntu / CentOS 系統(tǒng)及dd方式安裝系統(tǒng),支持重裝的系統(tǒng)Ubuntu 18.04/16.04 、Debian 9/10 、CentOS 6 、CentOS 7 (DD方式)和自定義DD鏡像。

Using DHCP mode.

Please select an OS:
  1) CentOS 7.7 (DD Image)
  2) CentOS 7.6 (ServerSpeeder Avaliable)
  3) CentOS 6
  4) Debian 9
  5) Debian 10
  6) Ubuntu 16.04
  7) Ubuntu 18.04
  8) Custom image
  0) Exit

Your option:

執(zhí)行命令安裝:

wget --no-check-certificate -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.sh

然后你就可以看到讓你選擇要安裝的操作系統(tǒng)了。

重裝后系統(tǒng)密碼均在腳本中有提供,安裝后請盡快修改密碼,默認(rèn)的是Pwd@Linux,如下圖:

Linux修改密碼的方法:執(zhí)行命令:passwd,兩次輸入密碼回車即可。

本腳本還提供一個靈活的自動重裝系統(tǒng)腳本,你可以在安裝系統(tǒng)前對IP等進(jìn)行相應(yīng)的配置:

wget --no-check-certificate -qO AutoDD.sh 'http://git.io/autodd.sh' && bash AutoDD.sh

執(zhí)行命令后,你可以開始安裝你的操作系統(tǒng)了。

二、CXTHHHHH重裝腳本

網(wǎng)站:

  1. 項(xiàng)目:https://github.com/MeowLove/Network-Reinstall-System-Modify
  2. 備用:https://github.com/freehao123/Network-Reinstall-System-Modify?

CXTHHHHH一鍵重裝腳本功能要豐富一些,而且支持安裝的操作系統(tǒng)也多一些,我在騰訊云輕量服務(wù)器上測試也通過了。該腳本還有一個強(qiáng)大的功能:裸機(jī)系統(tǒng)部署平臺,使得您可以通過IPIM/KVM/VNC/IDRAC等進(jìn)行手動安裝定制,例如定制分區(qū)(RAID),選擇磁盤加密,配合您購買的特定商業(yè)ISO安裝等高級安裝選項(xiàng)。命令:

#下載腳本
wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://www.cxthhhhh.com/CXT-Library/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh
#進(jìn)入安裝選項(xiàng)
bash ~/Network-Reinstall-System-Modify.sh -UI_Options
#合并下載腳本+進(jìn)入安裝選項(xiàng)
wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://www.cxthhhhh.com/CXT-Library/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh && bash ~/Network-Reinstall-System-Modify.sh -UI_Options
#(高級用戶使用)安裝 裸機(jī)系統(tǒng)部署平臺
bash ~/Network-Reinstall-System-Modify.sh -CXT_Bare-metal_System_Deployment_Platform

先下載腳本并進(jìn)入安裝選項(xiàng),這時(shí)就會有圖形選項(xiàng)讓你選擇安裝哪一個操作系統(tǒng)了,該腳本包括了Linux各個版本以及Windows系統(tǒng)。如下:

================================================================
=                                                              =
=           一鍵網(wǎng)絡(luò)重裝系統(tǒng) - 魔改版(圖形化安裝)            =
=        Network-Reinstall-System-Modify (Graphical Install)   =
=                                                              =
=                                https://www.cxthhhhh.com      =
=                                                              =
================================================================

  0) Latest 【Bare-metal System Deployment Platform】(Recommend)

  1) Latest 【CentOS 8】(Recommend)
  2) Latest 【CentOS 7】

  3) Latest 【Debian 10】(Recommend)
  4) Latest 【Debian 9】

  5) Latest 【Ubuntu 20.04】(Recommend)
  6) Latest 【Ubuntu 18.04】
  7) Latest 【Ubuntu 16.04】

  8) Microsoft 【W(wǎng)indows Server 2019】(Recommend)
  9) Microsoft 【W(wǎng)indows Server 2016】
  10) Microsoft 【W(wǎng)indows Server 2012】

  ======以下系統(tǒng)已經(jīng)過時(shí),失去官方技術(shù)支持,不推薦使用。======  
  ====== The system is outdated and is not recommended. ======  

  31) Latest 【CentOS 6】
  32) Latest 【Debian 8】
  33) Latest 【Debian 7】
  34) Latest 【Ubuntu 14.04】
  35) Microsoft 【W(wǎng)indows 10 Lite】
  36) Microsoft 【W(wǎng)indows Server 2008R2】
  37) Microsoft 【W(wǎng)indows 7 Vienna】
  38) Microsoft 【W(wǎng)indows_Server_2003】

  Custom DD System:bash Network-Reinstall-System-Modify.sh -DD "%URL%" 

================================================================

Enter the System Identification Nnumber (for example: 0)

VPS主機(jī)在重裝系統(tǒng)過程中可能速度比較慢,取決你的VPS主機(jī)的帶寬速度和硬盤的讀寫速度,一般地你可以通過主機(jī)商的VNC平臺查看VPS重裝的進(jìn)度。

對于Microsoft Windows。默認(rèn)的用戶名是:Administrator,默認(rèn)的密碼是:cxthhhhh.com。對于Linux(CentOS / Debian / Ubuntu),裸機(jī)系統(tǒng)部署平臺等,默認(rèn)的用戶名是:root,默認(rèn)的密碼是:cxthhhhh.com。

系統(tǒng)重裝完成后,請您務(wù)必立刻修改系統(tǒng)的默認(rèn)密碼。

三、94ish一鍵網(wǎng)絡(luò)重裝系統(tǒng)

網(wǎng)站:

  1. 項(xiàng)目:https://github.com/chiakge/installNET
  2. 備用:https://github.com/freehao123/installNET

這是一個精簡版的linux一鍵網(wǎng)絡(luò)重裝系統(tǒng)腳本,命令:

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/installNET/master/Install.sh" && chmod +x Install.sh && ./Install.sh

然后你就可以選擇你想要安裝的操作系統(tǒng)了,如下圖:

選擇高級模式后,輸入?yún)?shù)-dd "dd鏡像地址",即可重裝為Windows系統(tǒng)。

以下是Vicer提供的Windows DD包

# win7emb_x86.tar.gz:
  https://image.moeclub.org/GoogleDrive/1srhylymTjYS-Ky8uLw4R6LCWfAo1F3s7 
  https://moeclub.org/onedrive/IMAGE/Windows/win7emb_x86.tar.gz

# win8.1emb_x64.tar.gz:
  https://image.moeclub.org/GoogleDrive/1cqVl2wSGx92UTdhOxU9pW3wJgmvZMT_J
  https://moeclub.org/onedrive/IMAGE/Windows/win8.1emb_x64.tar.gz

# win10ltsc_x64.tar.gz:
  https://image.moeclub.org/GoogleDrive/1OVA3t-ZI2arkM4E4gKvofcBN9aoVdneh
  https://moeclub.org/onedrive/IMAGE/Windows/win10ltsc_x64.tar.gz

特別注意:萌咖提供Windows的dd安裝鏡像,遠(yuǎn)程登陸賬號為:?Administrator,遠(yuǎn)程登陸密碼為:?Vicer。其它的Linux操作系統(tǒng)在重裝過程中會讓你設(shè)置,如下圖:

四、一鍵網(wǎng)絡(luò)重裝腳本集合

網(wǎng)站:

  1. 項(xiàng)目:https://github.com/veip007/dd
  2. 備用:https://github.com/freehao123/dd

這是一個一鍵網(wǎng)絡(luò)重裝腳本集合,以上面的腳本失效或者找不到時(shí),這個腳本可以作為一個補(bǔ)充,集合了Linux和WIN包,Linux:centos6-7; Ubuntu 14 16 18;Debian 7 8 9 10;WIN:集合了”萌咖大佬、老司機(jī)、MeowLove ”的系統(tǒng),包含win7 2003 2006 2012 2008 2016 2019等系統(tǒng),當(dāng)然也可以自定義。

請選擇您需要的鏡像包:
  1) CentOS 7 (DD) 用戶名:root 密碼:Pwd@CentOS
  2) CentOS 6 (阿里云鏡像) 用戶名:root 密碼:MoeClub.org
  3) CentOS 6 用戶名:root 密碼:MoeClub.org
  4) Debian 7 x32 用戶名:root 密碼:MoeClub.org
  5) Debian 8 x64 用戶名:root 密碼:MoeClub.org
  6) Debian 9 x64 用戶名:root 密碼:MoeClub.org
  7) Debian 10 x64 用戶名:root 密碼:cxthhhhh.com
  8) Ubuntu 14.04x64 用戶名:root 密碼:MoeClub.org
  9) Ubuntu 16.04x64 用戶名:root 密碼:MoeClub.org
  10) Ubuntu 18.04x64 用戶名:root 密碼:MoeClub.org
  11) 萌咖Win7x64 用戶名:Administrator  密碼:Vicer
  12) Win2019 By:MeowLove  密碼:cxthhhhh.com
  13) Win2016 By:MeowLove  密碼:cxthhhhh.com
  14) Win2012 R2 By:MeowLove  密碼:cxthhhhh.com
  15) Win2008 R2 By:MeowLove  密碼:cxthhhhh.com
  16) Windows 7 Vienna By:MeowLove  密碼:cxthhhhh.com
  17) Windows 2003 Vienna By:MeowLove  密碼:cxthhhhh.com
  18) Win7x32 By:老司機(jī)  用戶名:Administrator  密碼:Windows7x86-Chinese
  19) Win-2003x32 By:老司機(jī)  用戶名:Administrator  密碼:WinSrv2003x86-Chinese
  20) Win2008x64 By:老司機(jī)  用戶名:Administrator  密碼:WinSrv2008x64-Chinese
  21) Win2012R2x64 By:老司機(jī)  用戶名:Administrator  密碼:WinSrv2012r2
  22) CentOS 8 用戶名:root 密碼:cxthhhhh.com 推薦512M以上使用
  自定義安裝請使用:bash InstallNET.sh -dd '您的直連'

請輸入編號:

命令:

##鏡像文件在OneDrive
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-od.sh && chmod +x dd-od.sh && ./dd-od.sh
##鏡像文件在GoogleDrive
wget -N --no-check-certificate https://raw.githubusercontent.com/veip007/dd/master/dd-gd.sh && chmod +x dd-gd.sh && ./dd-gd.sh

然后你就可以選擇你的操作系統(tǒng)了。

五、MoeClub一鍵重裝腳本

網(wǎng)站:

  1. 項(xiàng)目:https://github.com/freehao123/dd

MoeClub一鍵重裝腳本是上面四個腳本的核心,上面的優(yōu)化版和修改版都是基于MoeClub一鍵重裝腳本而來的,不過作者的博客已經(jīng)不能訪問了,但是腳本還可以正常使用,挖站否在好幾年前就已經(jīng)分享過該腳本了,目前還可以正常使用。

全自動安裝默認(rèn)root密碼:MoeClub.org,安裝完成后請立即更改密碼。能夠全自動重裝Debian/Ubuntu/CentOS等系統(tǒng),同時(shí)提供dd安裝鏡像功能,例如: 全自動無救援dd安裝windows系統(tǒng),全自動安裝CentOS時(shí)默認(rèn)提供VNC功能,可使用VNC Viewer查看進(jìn)度。下載:

#先運(yùn)行:
#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

說明:
        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: 發(fā)行版本代號
# dist-version: 發(fā)行版本號
# -apt/-yum/--mirror : 使用定義鏡像
# -a/-m : 詢問是否能進(jìn)入VNC自行操作. -a 為不提示(一般用于全自動安裝), -m 為提示.

安裝用法示例:

#使用默認(rèn)鏡像全自動安裝
bash InstallNET.sh -d 8 -v 64 -a
#使用自定義鏡像全自動安裝
bash InstallNET.sh -c 6.10 -v 64 -a --mirror 'http://mirror.centos.org/centos'
# 以下示例中,將X.X.X.X替換為自己的網(wǎng)絡(luò)參數(shù).
# --ip-addr :IP Address/IP地址
# --ip-gate :Gateway   /網(wǎng)關(guān)
# --ip-mask :Netmask   /子網(wǎng)掩碼
#使用自定義鏡像全自動安裝
bash InstallNET.sh -u 9 -v 64 -a --mirror 'http://mirrors.ustc.edu.cn/debian/'
#使用自定義鏡像自定義網(wǎng)絡(luò)參數(shù)全自動安裝
bash InstallNET.sh -u 16.04 -v 64 -a --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x --mirror 'http://archive.ubuntu.com/ubuntu' 
#使用自定義網(wǎng)絡(luò)參數(shù)全自動dd方式安裝 
bash InstallNET.sh --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd 'https://moeclub.org/onedrive/IMAGE/Windows/win7emb_x86.tar.gz' 
#使用自定義網(wǎng)絡(luò)參數(shù)全自動dd方式安裝存儲在谷歌網(wǎng)盤中的鏡像(調(diào)用文件ID的方式) 
bash InstallNET.sh --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd "https://image.moeclub.org/GoogleDrive/1cqVl2wSGx92UTdhOxU9pW3wJgmvZMT_J" 
#使用自定義網(wǎng)絡(luò)參數(shù)全自動dd方式安裝存儲在谷歌網(wǎng)盤中的鏡像 
bash InstallNET.sh --ip-addr x.x.x.x --ip-gate x.x.x.x --ip-mask x.x.x.x -dd "https://image.moeclub.org/GoogleDrive/1cqVl2wSGx92UTdhOxU9pW3wJgmvZMT_J" 
#國內(nèi)推薦使用USTC源 --mirror 'http://mirrors.ustc.edu.cn/debian/'

六、總結(jié)

一鍵重裝AutoReinstall.sh和CXTHHHHH重裝腳本在騰訊云輕量上測試重裝系統(tǒng)成功,其它的腳本如果你在運(yùn)行的過程出現(xiàn)莫名的錯誤,一般都是系統(tǒng)不兼容導(dǎo)致的。你可以嘗試更換一個原有的操作系統(tǒng),或者多嘗試幾個不同的腳本安裝,或許就成功了。最后提醒一下DD安裝了操作系統(tǒng)后一定要修改默認(rèn)的密碼。

贊(1)
版權(quán)聲明:本文采用知識共享 署名4.0國際許可協(xié)議 [BY-NC-SA] 進(jìn)行授權(quán), 轉(zhuǎn)載請注明出處。
文章名稱:《最新國外VPS云服務(wù)器一鍵重裝系統(tǒng)合集,一鍵DD安裝Linux和Windows》
文章鏈接:http://www.lrracing.com/15339.html
【聲明】:國外主機(jī)測評僅分享信息,不參與任何交易,也非中介,所有內(nèi)容僅代表個人觀點(diǎn),均不作直接、間接、法定、約定的保證,讀者購買風(fēng)險(xiǎn)自擔(dān)。一旦您訪問國外主機(jī)測評,即表示您已經(jīng)知曉并接受了此聲明通告。
【關(guān)于安全】:任何 IDC商家都有倒閉和跑路的可能,備份永遠(yuǎn)是最佳選擇,服務(wù)器也是機(jī)器,不勤備份是對自己極不負(fù)責(zé)的表現(xiàn),請保持良好的備份習(xí)慣。