Jump to content

DD Debian 12


Jack

Recommended Posts

Posted (edited)

DD Debian 12

https://github.com/leitbogioro/Tools

 

發現雲主機商沒有 Debian 12 系統

有試過幾次從 Debian 11 升級到 Debian 12,但是會出狀態,只能DD了

 

---------------------
實測
---------------------

主機商只有 Debian 11,先恢復系統


再SSH登入,更新一下

 

apt update -y

apt install wget -y

 

---------------------
開始DD Debian
---------------------

下載DD腳本

wget --no-check-certificate InstallNET.sh 'https://raw.githubusercontent.com/leitbogioro/Tools/master/Linux_reinstall/InstallNET.sh'

 

chmod a+x /root/InstallNET.sh

 


後面最好加參數

要DD為debian 12,使用鏡像 ftp.hk.debian.org,DD完成後使用root密碼登入

bash InstallNET.sh -debian 12 -mirror "http://ftp.hk.debian.org/debian/" -pwd

 


SSH這部份,完成後,需要自己下reboot重開機

[Finish] Input 'reboot' to continue the subsequential installation.

 

重開機
reboot

 

接下來,使用主機商提供的VNC,看看DD的進度如何

 

完成後,再SSH登入

 

root密碼預設是 LeitboGi0ro

 

Edited by Jack
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...