One-click DD script that can check progress in WebUI

888u

Last update at :2024-04-11,Edit by888u

Script introduction

This script can provide you with a WebUI during the DD system to help you understand the current DD status.

Based on the existing very mature one-click reinstallation script modification, only the DD related logic in the script is modified, without any learning cost.

The script execution environment currently only supports linux amd64, but can be used on DD Windows and other systems (same as the original script).

WebUI was modified from a jump page template I found online

The script comes from flyqie

Special thanks

Shell original author: MoeClub

Shell secondary modification: cxthhhhh

How to use

Basic usage is the same as the original script. For advanced usage, you can view the shell file yourself (some functions may not have been fully tested, and you need to bear the consequences at your own risk).

The script will display your WebUI address at the end. This address will not be displayed anywhere again, and the WebUI will automatically disappear after DD ends.

Shell address: https://github.com/flyqie/dd-shell

Go program address: https://github.com/flyqie/dd-web

Script direct link address: https://raw.githubusercontent.com/flyqie/dd-shell/master/Core_Install.sh

Demonstration diagram

Risk Description

Due to the complex usage environment of this script, it cannot be fully tested, which may cause your server to not run properly and data to be lost.

Some VPS merchants explicitly prohibit DD systems, which may cause your server to be terminated.

During DD, it will take up a lot of resources (not that the script takes up resources, but the behavior of the DD system itself), which may cause your server to be suspended or terminated.

The author cannot know and monitor user behavior, nor does he assume any responsibility for the script (including but not limited to legal liability and liability for data loss)

Technical related instructions

This script mainly modifies the original wget gzip dd steps, implements them all using go, and adds WebUI, which communicates with the server through ws.

Tested environment

Proxmoxve 6 KVM

Vultr KVM

(Others have not been tested. Everyone is welcome to submit test results. It seems that no DD failures caused by this script have been found so far)

Notes

It is normal for the script to be able to ping successfully but unable to access the WebUI after automatic restart. The temporary operating environment will be configured first (this part has not been changed), and the WebUI can only be accessed after the temporary operating environment is configured and DD is started.

By default, if an error occurs in DD, the WebUI will always be available and display error details. If DD is successful, it will automatically restart. This configuration can be modified through script parameters.

Script meaning

Personally, I think this script has no special significance. It just makes the DD process clearer and can more accurately determine where the problem is. It does not take into account the problems that occur before DD starts after restarting. How to troubleshoot the problem.

By the way, the person who was banned before, he does have skills, and his script does not only make the DD script have a progress bar, but this person seems to have poor emotional intelligence and does not think about things.

In addition, Du Fu, who used to have IPMI for $5, was really good, but it’s a pity that I didn’t have it. Having IKVM really saves a lot of trouble

Recommended site searches: http proxy ip, dual-line host rental, virtual host space, rent high-defense IP, check IP detailed address, cancel registration, registered domain name query, shopex virtual host, free domain name registration platform, free cn domain name registration ,

One-click DD script that can check progress in WebUI

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