Linux: One-click DD script

888u

Last update at :2024-06-12,Edit by888u

One-click DD script has good support, is smarter and more comprehensive, supports various VPS reinstallations outside mainland China, and is especially effective for various VPS installations in mainland China that are slow to access foreign resources.


Update instructions:
20220428: Fixed the BUG that got stuck during the new version of MoeClub DD, fixed the error message Error! Not Found grub. under Centos7, and added a DD system image package that supports xz compression format.
20220406: The CN system image has expired. It will take a long time to use the one-click script 1-25 options for mainland China hosts. It is recommended to use the 99 custom system image.
20211120: Update the new version of MoeClub, which has fewer dependencies and supports original custom password installation. The trial version may have bugs.
20210909: Support debian11.
20210511: It is found that many people do not know how to DD Oracle. Just use an image package that supports uefi. The script has added 3 Oracle-specific options 23-25.
20210509: Update some windows images and fix a minor problem.
20210127: Replace some windows images.
20210109: Updated to support Ubuntu20.04 installation and updated several windows images.
20200708: Update to automatically use mainland China mirror source for CN hosts.


Install the prerequisite components for reinstalling the system:
Debian/Ubuntu:

apt-get install -y xz-utils openssl gawk file wget screen && screen -S os

RedHat/CentOS:

yum install -y xz openssl gawk file glibc-common wget screen && screen -S os

If an exception occurs, please refresh the Mirrors cache or change the mirror source.
RedHat/CentOS:

yum makecache && yum update -y

Debian/Ubuntu:

apt update -y && apt dist-upgrade -y

Use:

wget --no-check-certificate -O AutoReinstall.sh https://git.io/betags && chmod a+x AutoReinstall.sh && bash AutoReinstall.sh

New version experience:

wget --no-check-certificate -O NewReinstall.sh https://git.io/newbetags && chmod a+x NewReinstall.sh && bash NewReinstall.sh

If it is a CN host (some host providers are no longer available), there may be errors or problems with being unable to download the script. You can execute the following command to start the installation.

wget --no-check-certificate -O AutoReinstall.sh https://cdn.jsdelivr.net/gh/fcurrk/reinstall@master/AutoReinstall.sh && chmod a+x AutoReinstall.sh && bash AutoReinstall.sh

New version experience:

wget --no-check-certificate -O NewReinstall.sh https://cdn.jsdelivr.net/gh/fcurrk/reinstall@master/NewReinstall.sh && chmod a+x NewReinstall.sh && bash NewReinstall.sh


Enter Y to confirm DD and the host will automatically obtain the IP. N will set the IP by itself. After entering N, the current IP of the host will be automatically detected. If it is correct, press Y to confirm the use. If it is incorrect, press N and enter the correct IP yourself.

The 25-in-1 system has a one-click DD selection interface. Enter 99 to use a custom image. The above system passwords that are not the default passwords are all collected online. If you have any doubts, use your own custom image.

25-in-1 system password:
1. CentOS 7.7 (firewall and SELinux turned off, default password Pwd@CentOS)
2. CentOS 7 (default password cxthhhhh.com)
3. CentOS 8 (default password cxthhhhh.com)
4. CentOS 6 (default password Minijer.com)
5. Debian 11 (default password Minijer.com)
6. Debian 10 (default password Minijer.com)
7. Debian 9 (default password Minijer.com)
8. Debian 8 (default password Minijer.com)
9. Ubuntu 20.04 (default password Minijer.com)
10. Ubuntu 18.04 (default password Minijer.com)
11. Ubuntu 16.04 (default password Minijer.com)
12. Windows Server 2019 (default password cxthhhhh.com)
13. Windows Server 2016 (default password cxthhhhh.com)
14. Windows Server 2012 (default password cxthhhhh.com)
15. Windows Server 2012 Lite (default password nat.ee)
16. Windows Server 2008 (default password cxthhhhh.com)
17. Windows Server 2008 Lite (default password nat.ee)
18. Windows Server 2003 (default password cxthhhhh.com)
19. Windows Server 2003 Lite (default password WinSrv2003x86-Chinese)
20. Windows 10 LTSC Lite (default password nat.ee)
21. Windows 7 x86 Lite (default password nat.ee)
22. Windows 7 Ent Lite (default password nat.ee)
23. Windows 7 Ent Lite (UEFI supports Oracle) (default password nat.ee)
24. Windows Server 2008 Lite (UEFI supports Oracle) (default password nat.ee)
25. Windows Server 2012 Lite (UEFI supports Oracle) (default password nat.ee)
99. Custom image


Note:
After testing, based on the original Google Cloud system, DD will automatically obtain the subnet mask of 255.255.255.255. If this happens, you need to manually enter the correct one such as 255.255.255.0, otherwise the installation will be completed and the host may go offline.
Oracle Cloud (Oracle Cloud) can choose 23-25 ​​one-click DD. Note that it is best to choose Ubuntu as the basic system. If the original system is CentOS, it may not be successful.

Original text:

https://git.beta.gs/

Recommended site searches: IP purchase, US multi-IP site group vps, cm domain name registration, space website, server proxy IP, Hong Kong server, US server website, domain name purchase in domain name, network IP address query,

Linux: One-click DD script

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码